Skip to content

Commit b87fc8f

Browse files
authored
docs: add documentation for Anthropic API integration (#3746)
* docs: add documentation for Anthropic API integration * docs: rename Anthropic documentation to reflect Claude model
1 parent 96b4b42 commit b87fc8f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Anthropic Claude
2+
3+
[Anthropic](https://www.anthropic.com/) is an AI research company that develops large language models, including the Claude family of models. While Tabby doesn't natively support Claude's API, you can access Claude models through an OpenAI-compatible API interface using [claude2openai](https://github.com/missuo/claude2openai) as a middleware.
4+
5+
## Chat model
6+
7+
After deploying the claude2openai middleware, you can access all Claude family models through an OpenAI-compatible chat API interface.
8+
9+
```toml title="~/.tabby/config.toml"
10+
[model.chat.http]
11+
kind = "openai/chat"
12+
model_name = "claude-3-sonnet-20240229"
13+
# Middleware endpoint (adjust host and port according to your deployment)
14+
api_endpoint = "http://127.0.0.1:6600/v1"
15+
api_key = "your-api-key"
16+
```
17+
18+
## Completion model
19+
20+
Anthropic currently does not offer completion-specific API endpoints.
21+
22+
## Embeddings model
23+
24+
Anthropic currently does not provide embedding model APIs.

0 commit comments

Comments
 (0)