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
lagent.llms的GPTAPI似乎没有适配通用的openai风格接口。 比如尝试修改模型中gpt4。使用代理链接的openai(使用openai) gpt4 = dict( type=GPTAPI, model_type="gpt-3.5-turbo", key=os.environ.get("OPENAI_API_KEY", "sk-IXgCT4aDeE6830c5e"), api_base=os.environ.get("OPENAI_API_BASE", "http://192.00/v1/chat/completions"), ) 请求失败。 如果使用直连模型。GPTAPI又限制了模型名称。 简而言之,能否添加通用的openai风格模型接口,譬如oneapi。 最后,该开源项目非常优秀,非常感谢
The text was updated successfully, but these errors were encountered:
#291
Sorry, something went wrong.
No branches or pull requests
lagent.llms的GPTAPI似乎没有适配通用的openai风格接口。
比如尝试修改模型中gpt4。使用代理链接的openai(使用openai)
gpt4 = dict(
type=GPTAPI,
model_type="gpt-3.5-turbo",
key=os.environ.get("OPENAI_API_KEY", "sk-IXgCT4aDeE6830c5e"),
api_base=os.environ.get("OPENAI_API_BASE",
"http://192.00/v1/chat/completions"),
)
请求失败。
如果使用直连模型。GPTAPI又限制了模型名称。
简而言之,能否添加通用的openai风格模型接口,譬如oneapi。
最后,该开源项目非常优秀,非常感谢
The text was updated successfully, but these errors were encountered: