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
建议在服务提供商配置里加入Kimi(MoonShot)服务商,因为Kimi的API是免费的
Kimi的API url:https://api.moonshot.cn/v1
用Python的OpenAI库创建例子
AI_Client = OpenAI( api_key = "{API_KEY}", base_url = "https://api.moonshot.cn/v1", )
history = [ {"role": "system", "content": "{training_text}"} ] completion = client.chat.completions.create( model = "moonshot-v1-8k", messages = history, temperature = 0.3, ) result = completion.choices[0].message.content
No response
The text was updated successfully, but these errors were encountered:
feat: 添加 moonshot 配置模板 #446
d352817
已经加入。
Sorry, something went wrong.
No branches or pull requests
描述
建议在服务提供商配置里加入Kimi(MoonShot)服务商,因为Kimi的API是免费的
Kimi的API url:https://api.moonshot.cn/v1
用Python的OpenAI库创建例子
使用场景
No response
你愿意提交PR吗?
Code of Conduct
The text was updated successfully, but these errors were encountered: