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
bot: chatgptapi
官网的调用参考如下: from openai import OpenAI
client = OpenAI( api_key="", # <--在这里使用MiniMax账户管理-接口密钥中API KEY进行接入 base_url="https://api.minimax.chat/v1", )
completion = client.chat.completions.create( model="abab6.5s-chat", messages=[ {"role": "system", "content": "MM智能助理是一款由MiniMax自研的,没有调用其他产品的接口的大型语言模型。MiniMax是一家中国科技公司,一直致力于进行大模型相关的研究。"}, {"role": "user", "content": "你好"} ] )
print(completion) print("Trace-ID:", completion.id)
The text was updated successfully, but these errors were encountered:
不好意思,发错项目了,已发到XIAOGPT,我这没找到删除的地方,请您删除。
Sorry, something went wrong.
No branches or pull requests
===== 对话 AI 设置 =====
使用的 bot 类型,目前支持 chatgptapi, glm, gemini, langchain, qwen, doubao, moonshot, yi, llama,
bot: chatgptapi
官网的调用参考如下:
from openai import OpenAI
client = OpenAI(
api_key="", # <--在这里使用MiniMax账户管理-接口密钥中API KEY进行接入
base_url="https://api.minimax.chat/v1",
)
completion = client.chat.completions.create(
model="abab6.5s-chat",
messages=[
{"role": "system", "content": "MM智能助理是一款由MiniMax自研的,没有调用其他产品的接口的大型语言模型。MiniMax是一家中国科技公司,一直致力于进行大模型相关的研究。"},
{"role": "user", "content": "你好"}
]
)
print(completion)
print("Trace-ID:", completion.id)
The text was updated successfully, but these errors were encountered: