We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否在预编译版指令行模式下支持使用API翻译,不部署项目
The text was updated successfully, but these errors were encountered:
这个具体没懂,是使命令行工具调用openai 接口的吗?
Sorry, something went wrong.
对,而且是在分发版实现
这个具体没懂,是使命令行工具调用openai 接口的吗? 对,而且是在分发版实现
这个openai API兼容接口在config.yaml文件就可以配置了,一样使用的:
open_ai: init: base_url: http://localhost:11434/v1/ api_key: 'ollama'
至于openai API兼容接口可以通过ollama,tgw,vllm等框架提供就行,或者是openai原生的也行。命令行使用方式:
t {index_or_name} -t openai -n {model_name} -l {lang}
No branches or pull requests
能否在预编译版指令行模式下支持使用API翻译,不部署项目
The text was updated successfully, but these errors were encountered: