cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Not able to invoke model external model

Himali_K
New Contributor II

I have followed below steps

1) Created serving end point by for external model gpt-4-turbo and providing azure AI endpoint and key

2) Now using langchain,  i am trying to connect and invoke message from model in notebook 

model = ChatDatabricks(target_uri="databricks", endpoint="test", temperature=0.99)
response = model.invoke(messages)

But getting error as
HTTPError: 500 Server Error: Received error from openai for url: https://{test}-c2.azuredatabricks.net/serving-endpoints/testpocC/invocations.

Any other setting is required ? or any code issue 

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group