Giá trị nhà cung cấp
Dùnganthropic trong llm.profiles.<name>.provider.
Ví dụ hồ sơ
Biến môi trường bắt buộc
Biến môi trường tùy chọn
ANTHROPIC_BASE_URL mặc định là https://api.anthropic.com/v1.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cấu hình Anthropic làm nhà cung cấp LLM cho việc tạo bản dịch.
anthropic trong llm.profiles.<name>.provider.
{
"llm": {
"profiles": {
"default": {
"provider": "anthropic",
"model": "claude-sonnet-4-5",
"prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
}
}
}
}
export ANTHROPIC_API_KEY="your-anthropic-api-key"
ANTHROPIC_API_KEY="your-anthropic-api-key"
ANTHROPIC_BASE_URL mặc định là https://api.anthropic.com/v1.Trang này có hữu ích không?
