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

[Question]: Is there a easy way to select a model from a different vendor in the command-line ? #1216

Open
everaldo opened this issue Dec 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@everaldo
Copy link

What is your question?

After reading the documentation, I am still not clear how to change the model from a distinct vendor. I tried using the --model parameter, but it didn'work.

What worked:

Redefining env vars: DEFAULT_VENDOR and DEFAULT_MODEL

For instance, my DEFAULT_VENDOR is Mistral and DEFAULT_MODEL is open-mixtral-8x22b-2404

If I try fabric --model=gpt-4o, it doesn't work

What I have to do: DEFAULT_VENDOR=OpenAI DEFAULT_MODEL=gpt-4o fabric "prompt"

I would like to know if there is an easier way to do that, since I have multiple vendors: Ollama, Mistral, OpenAI, Groq etc.

Thanks a lot and congrats for this great project.

@everaldo everaldo added the question Further information is requested label Dec 20, 2024
@eugeis
Copy link
Collaborator

eugeis commented Dec 20, 2024

Please provide output of

fabric --listmodels

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

No branches or pull requests

2 participants