İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Sohbet Botları ve Mesajlaşma Botları

Sohbet Botları ve Mesajlaşma Botları

DeepSeek V3 ve R1 Modelleriyle Sohbet: Hızlı Başlangıç

Bir sohbet mesajı geldiğinde bir ajan, DeepSeek API üzerinden DeepSeek V3 veya R1 akıl yürütmesiyle yanıt verir; Ollama ve OpenAI uyumlu örnekler de içerir.

Ne yapar

# Your First DeepSeek API Call The DeepSeek API uses an API format compatible with OpenAI. By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DeepSeek API. https://api-docs.deepseek.com/ ## Configuration Parameters | Parameter | Value | |-----------|--------| | base_url | https://api.deepseek.com | | api_key | https://platform.deepseek.com/api_keys | ## Important Notes - To be compatible with OpenAI, you can also use https://api.deepseek.com/v1 as the base_url. Note that the v1 here has NO relationship with the model's version. - The deepseek-chat model has been upgraded to DeepSeek-V3. The API remains unchanged. You can invoke DeepSeek-V3 by specifying model='deepseek-chat'. - deepseek-reasoner is the latest reasoning model, DeepSeek-R1, released by DeepSeek. You can invoke DeepSeek-R1 by specifying model='deepseek-reasoner'.

Adımlar

  1. When chat message received
  2. AI Agent
  3. DeepSeek
  4. Window Buffer Memory
  5. Basic LLM Chain2
  6. Ollama DeepSeek
  7. DeepSeek JSON Body
  8. DeepSeek Raw Body

Benzer otomasyonlar