Skip to content
New issue

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

[Request] MiniMax 模型支持 #1053

Closed
ifsheldon opened this issue Jan 15, 2024 · 15 comments · Fixed by #2087
Closed

[Request] MiniMax 模型支持 #1053

ifsheldon opened this issue Jan 15, 2024 · 15 comments · Fixed by #2087
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃 released

Comments

@ifsheldon
Copy link

🥰 Feature Description

支持 MiniMax 的模型,MiniMax 的模型应该是国内模型和 OpenAI 最接近的了,无论是性能还是 API

🧐 Proposed Solution

没有官方库,所以只能用 http 请求;或者 one-api 支持 MiniMax 之后可以用 one-api,见 songquanpeng/one-api#413

📝 Additional Information

No response

@ifsheldon ifsheldon added the 🌠 Feature Request New feature or request | 特性与建议 label Jan 15, 2024
@lobehubbot
Copy link
Member

👀 @ifsheldon

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jan 15, 2024

Minmax是不是不支持流式?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does Minmax not support streaming?

@ifsheldon
Copy link
Author

支持的,除了图像的没有,基本上和 OpenAI 的 API 差不多,甚至还有 Assistant 的 API。而且个人也能拿到 API Key

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What is supported, except for images, is basically the same as OpenAI’s API, and even has Assistant’s API. And individuals can also get the API Key

@arvinxx
Copy link
Contributor

arvinxx commented Jan 15, 2024

之前看 langchain 的文档里它倒是有 model 层。但是不支持 stream。

image

如果你说已经有的话,看起来是 langchain 自己的实现问题

@ifsheldon
Copy link
Author

应该是实现的问题,官方的文档是有流式输出的,和 OpenAI 一样使用 SSE

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It should be an implementation issue. The official document has streaming output and uses SSE like OpenAI.

@arvinxx
Copy link
Contributor

arvinxx commented Jan 15, 2024

能否给下官方文档?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you provide official documentation?

@ifsheldon
Copy link
Author

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Feb 15, 2024
@search-codes-now-2016
Copy link

真的需要支持minimax 开发文档是https://www.minimaxi.com/document/guides/chat-model/V2

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


We really need to support minimax. The development document is https://www.minimaxi.com/document/guides/chat-model/V2

@lobehubbot
Copy link
Member

@ifsheldon

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.151.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃 released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants