Expand description
DeepSeek API client and Rig integration
§Example
use rig::providers::deepseek;
let client = deepseek::Client::new("DEEPSEEK_API_KEY");
let deepseek_chat = client.completion_model(deepseek::DEEPSEEK_CHAT);Structs§
- Choice
- Completion
Model - The struct implementing the
CompletionModeltrait - Completion
Response - The response shape from the DeepSeek API
- Completion
Tokens Details - Deep
Seek Ext - Deep
Seek ExtBuilder - Deep
Seek Model Lister ModelListerimplementation for the DeepSeek API (GET /models).- Function
- Prompt
Tokens Details - Streaming
Completion Response - Streaming
Delta - Tool
Call - Tool
Definition - Usage
Enums§
Constants§
- DEEPSEEK_
CHAT Deprecated - DEEPSEEK_
REASONER Deprecated - DEEPSEEK_
V4_ FLASH - DEEPSEEK_
V4_ PRO