Skip to content

Commit 9913c66

Browse files
committed
add model aliases url to anthropic documentation
Signed-off-by: Alexandros Pappas <[email protected]>
1 parent 7d6b458 commit 9913c66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/anthropic-chat.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The prefix `spring.ai.anthropic` is used as the property prefix that lets you co
124124
| spring.ai.anthropic.completions-path | The path to append to the base URL. | `/v1/chat/completions`
125125
| spring.ai.anthropic.version | Anthropic API version | 2023-06-01
126126
| spring.ai.anthropic.api-key | The API Key | -
127-
| spring.ai.anthropic.beta-version | Enables new/experimental features. If set to `max-tokens-3-5-sonnet-2024-07-15`
127+
| spring.ai.anthropic.beta-version | Enables new/experimental features. If set to `max-tokens-3-5-sonnet-2024-07-15`
128128
the output tokens limit is increased from `4096` to `8192` tokens (for claude-3-5-sonnet only). | `tools-2024-04-04`
129129
|====
130130

@@ -164,6 +164,8 @@ The prefix `spring.ai.anthropic.chat` is the property prefix that lets you confi
164164
| spring.ai.anthropic.chat.options.http-headers | Optional HTTP headers to be added to the chat completion request. | -
165165
|====
166166

167+
TIP: For the latest list of model aliases and their descriptions, see the link:https://docs.anthropic.com/en/docs/about-claude/models/overview#model-aliases[official Anthropic model aliases documentation].
168+
167169
TIP: All properties prefixed with `spring.ai.anthropic.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
168170

169171
== Runtime Options [[chat-options]]
@@ -262,7 +264,7 @@ spring.ai.anthropic.chat.options.temperature=0.7
262264
spring.ai.anthropic.chat.options.max-tokens=450
263265
----
264266

265-
TIP: replace the `api-key` with your Anthropic credentials.
267+
TIP: Replace the `api-key` with your Anthropic credentials.
266268

267269
This will create a `AnthropicChatModel` implementation that you can inject into your class.
268270
Here is an example of a simple `@Controller` class that uses the chat model for text generations.

0 commit comments

Comments
 (0)