提供者值
在lmstudio 中使用 llm.profiles.<name>.provider。
示例简介
可选环境变量
LM_STUDIO_BASE_URL 默认为 http://127.0.0.1:1234/v1。
LM_STUDIO_API_KEY 默认为 lm-studio。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将 LM Studio 配置为用于生成翻译的 LLM 提供程序。
lmstudio 中使用 llm.profiles.<name>.provider。
{
"llm": {
"profiles": {
"default": {
"provider": "lmstudio",
"model": "qwen2.5-7b-instruct",
"prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
}
}
}
}
LM_STUDIO_BASE_URL 默认为 http://127.0.0.1:1234/v1。
LM_STUDIO_API_KEY 默认为 lm-studio。此页面对您有帮助吗?
