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

[Feature Request]: [Python API] add function to list available (connected) models #4559

Open
1 task done
senovr opened this issue Jan 21, 2025 · 0 comments
Open
1 task done
Labels

Comments

@senovr
Copy link

senovr commented Jan 21, 2025

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

Describe the feature you'd like

Gents,
may be I overlooked, but can you please consider adding .get_models() function to ragflow object in python api?
As per my understanding, it should return list of provider-model names combinations, that user connected to ragflow,
Right now I am thinking only about chat models, but may be we should also pull re-rankers.

It will help to create chat assistant programmaticaly, by iterating through 2-3 most performant model.

Describe implementation you've considered

get_model should return a dict, where key is model type (chat, re-rank, tts, etc), and value is model name

Documentation, adoption, use case

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants