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

Suggestions on Model Supplier Interface #13724

Open
5 tasks done
adysec opened this issue Feb 14, 2025 · 0 comments
Open
5 tasks done

Suggestions on Model Supplier Interface #13724

adysec opened this issue Feb 14, 2025 · 0 comments
Labels
💪 enhancement New feature or request

Comments

@adysec
Copy link

adysec commented Feb 14, 2025

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Story 1: The rerank model is important during use, but currently deployed locally, the rerank model cannot be added to the model vendor. The local rerank model uses the OpenAI interface specification, but when adding the OpenAI interface, only LLM, Text Embedding, Speech2text, Modulation, TTS type models are allowed to be added. However, when adding other model vendors, the same problem exists, as many model vendors only allow LLM type models to be added.

Image

Story 2: Because some model vendors have a certain amount of free quota, and there are local deployment models and remote deployment models at the same time, the same model vendor exists, but there are multiple api addresses and accounts, but it seems unable to support this situation at present. I tried to use the One API project to solve this problem, but due to Story 1, I am unable to support rerank type models

Image

2. Additional context or comments

Regarding Story 1: It is recommended to lift the restriction on 'model types' provided by' model suppliers'. For clearer display, only the added 'model types' can be shown
Regarding Story 2: It is recommended to refer to the One API project. It is allowed to add multiple api addresses and keys in the format of the same model vendor. Allow users to add custom API interface formats.

Image

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant