Giá trị nhà cung cấp
Sử dụngollama trong llm.profiles.<name>.provider.
Ví dụ về hồ sơ
Các biến môi trường tùy chọn
OLLAMA_BASE_URL mặc định là http://127.0.0.1:11434/v1.
OLLAMA_API_KEY mặc định là ollama.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 Ollama làm nhà cung cấp LLM cho việc tạo bản dịch.
ollama trong llm.profiles.<name>.provider.
{
"llm": {
"profiles": {
"default": {
"provider": "ollama",
"model": "qwen2.5:7b",
"prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
}
}
}
}
OLLAMA_BASE_URL mặc định là http://127.0.0.1:11434/v1.
OLLAMA_API_KEY mặc định là ollama.Trang này có hữu ích không?
