Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

Deepseek

LibreChat에서 Deepseek를 사용자 지정 endpoint로 구성하기.

Deepseek는 LibreChat에 사용자 지정 endpoint로 추가할 수 있는 OpenAI 호환 API를 통해 chat, coder 및 reasoner 모델을 제공합니다.

API 키 발급받기

Deepseek platform에서 키를 생성하세요. 이를 .env 파일에 추가하세요:

DEEPSEEK_API_KEY=your-api-key

구성

librechat.yamlendpoints.custom 아래에 해당 endpoint를 추가하세요:

    - name: "Deepseek"
      apiKey: "${DEEPSEEK_API_KEY}"
      baseURL: "https://api.deepseek.com/v1"
      models:
        default: ["deepseek-chat", "deepseek-coder", "deepseek-reasoner"]
        fetch: false
      titleConvo: true
      titleModel: "deepseek-chat"
      modelDisplayLabel: "Deepseek"

참고 사항

  • deepseek-chatdeepseek-coderAgents and tools와 함께 작동합니다.
  • deepseek-reasoner는 코드네임 "R1"으로 지원되며 사고 과정을 스트리밍하지만, 일부 OpenAI API 매개변수는 작동하지 않을 수 있습니다. R1은 도구를 사용하지 않을 때 에이전트(Agents)와 함께 작동할 수도 있습니다.
  • deepseek-chat는 제목 생성에 권장되는 모델입니다.
Deepseek 생성

이 가이드는 어떤가요?