From bcc2894adaf15b25e47fc4a387a4c070e216955d Mon Sep 17 00:00:00 2001 From: slobentanzer Date: Thu, 15 Aug 2024 17:31:14 +0200 Subject: [PATCH] mention Claude in docs --- docs/features/chat.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/features/chat.md b/docs/features/chat.md index 31337547..9da94d7b 100644 --- a/docs/features/chat.md +++ b/docs/features/chat.md @@ -60,6 +60,20 @@ designate the `OPENAI_API_KEY` variable in your environment directly (`export OPENAI_API_KEY=sk-...`) by adding it to your shell configuration (e.g., the `zshrc`). +## Using Anthropic models (Claude) + +Similarly, to use an Anthropic model, you need a billable account with Anthropic +API access, and to set the `ANTHROPIC_API_KEY` variable in your environment. + +```python +from biochatter.llm_connect import AnthropicConversation + +conversation = AnthropicConversation( + model_name="claude-3-5-sonnet-20240620", + prompts={}, +) +``` + ## Multimodal models - Text and image We support multimodal queries in models that offer these capabilities after the