We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In my notebook I'm currently setting up an agent llm the following way:
from txtai import Agent, LLM DATABRICKS_TOKEN = dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiToken().get() llm = LLM('Name-of-databricks-model-served', token=DATABRICKS_TOKEN, api_base='https://<my-db-instance>.cloud.databricks.com/serving-endpoints') agent = Agent( model=llm, tools=[{ "name": "test agent", "description": "what is the capital of Portugal", "path": "test", }], max_steps=10, )
Currently it keeps trying to use the hugging face api.
401 Client Error: Unauthorized for url: https://huggingface.co/Name-of-databricks-model-served/resolve/main/config.json
The text was updated successfully, but these errors were encountered:
Hello. This documentation page from LiteLLM explains more on this: https://docs.litellm.ai/docs/providers/databricks
from txtai import Agent, LLM import os os.environ["DATABRICKS_API_KEY"] = "" os.environ["DATABRICKS_API_BASE"] = "" llm = LLM('databricks/Name-of-databricks-model-served') agent = Agent( model=llm, tools=[{ "name": "test agent", "description": "what is the capital of Portugal", "path": "test", }], max_steps=10, )
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
In my notebook I'm currently setting up an agent llm the following way:
Currently it keeps trying to use the hugging face api.
The text was updated successfully, but these errors were encountered: