cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

gateway.create route for open source models

MichaelO
New Contributor III

Am I able to use gateway.create_route in mlflow for open source LLM models?

I'm aware of the syntax for propietary models like for openAI:

 

from mlflow import gateway
gateway.create_route(
                              name=OpenAI_embeddings_route_name,
                              route_type="llm/v1/embeddings",
                              model={
                                  "name": "text-embedding-ada-002",
                                  "provider": "openai",
                                  "openai_config": {
                                      "openai_api_key": OpenAI_key,
                                                  }
                                    }
)

 

Can I use it for open source models without api keys?

Any examples?

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now