-
Notifications
You must be signed in to change notification settings - Fork 36
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
Allow specifying model in env file #36
Comments
The model is configurable through API :) You can create bee a with a different model using the python SDK, just switch the model (depends on your LLM_BACKEND):
Or use this curl (for bee-stack): # env for stack
BEE_API=localhost:4000
BEE_API_KEY=sk-proj-testkey
curl -X POST \
"${BEE_API}/v1/assistants" \
-H "Authorization: Bearer ${BEE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-3-1-70b-instruct",
"tools": [
{
"type": "code_interpreter"
}
]
}' You can then edit your assistant in the UI. IMO it would make sense to make this configuratble in the UI |
@jezekra1 In the short-term, can we add this as a guide to the bee-stack readme? Running the stack with a different model is a common request. Ideally, there should be a quick way to toggle between the models we optimized for at the framework level (llama and granite) while setting up the stack. There should be also a guide for advanced users to run the stack against models we didn't optimize against. |
I added the It depends on the presets available in each adapter, for example for watsonx: Should I add this disclaimer to the README?
We can add this setting to API and then to the startup script, here is api issue: i-am-bee/bee-api#76 |
I am wondering if there is a creative solution here. At the very min, we should link to a section in the bee-framework where we keep an up-to-date list of models we are optimized against (cc: @Tomas2D ). Could we maybe have an agent that listens to changes to that section and updates the bee-stack readme as well? |
Discussion: should model switching be done directly in the ui - as opposed to while configuring the bee-stack? |
Issue description
New users don't know which model the bee-stack is using. Ideally they should have the flexibility to specify which model to use as well as modify parameters.
Ideal solution
Related discussion: https://github.com/i-am-bee/internal/issues/2
The text was updated successfully, but these errors were encountered: