Skip to content

Commit

Permalink
docs: optimize deepseek documentation page (#3622)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Dec 27, 2024
1 parent 02025aa commit 362600d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions website/docs/references/models-http-api/deepseek.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# DeepSeek

[DeepSeek](https://www.deepseek.com/) is a platform that offers a suite of AI models. Tabby supports DeepSeek's models for both code completion and chat.

DeepSeek provides some OpenAI-compatible APIs, allowing us to use the OpenAI chat kinds directly.
However, for completion, there are some differences in the implementation, so we should use the `deepseek/completion` kind.
[DeepSeek](https://www.deepseek.com/) offers a suite of AI models, such as [DeepSeek V3](https://huggingface.co/deepseek-ai/DeepSeek-V3) and [DeepSeek Coder](https://huggingface.co/collections/deepseek-ai/deepseekcoder-v2-666bf4b274a5f556827ceeca), which perform well in coding tasks. Tabby supports DeepSeek's models for both code completion and chat.

Below is an example

```toml title="~/.tabby/config.toml"
# Chat model
# Chat model configuration
[model.chat.http]
# Deepseek's chat interface is compatible with OpenAI's chat API.
kind = "openai/chat"
model_name = "your_model"
api_endpoint = "https://api.deepseek.com/v1"
api_key = "secret-api-key"

# Completion model
# Completion model configuration
[model.completion.http]
# Deepseek uses its own completion API interface.
kind = "deepseek/completion"
model_name = "your_model"
api_endpoint = "https://api.deepseek.com/beta"
Expand Down

0 comments on commit 362600d

Please sign in to comment.