How can I connect Langchain to OpenAI Azure hosted on my server with my own URL?

The application I am working on is connected to Azure OpenAI endpoint, which we are hosting ourselves.

How can I connect Langchain to our domain.

How can I use Langchain on OpenAI Azure, which is deployed on my private server ?

There is no option to add URL. ANyone has tips

You would need to modify the address used in the libraries and use the endpoint of where your model is hosted.

Else copy their connector and update it to work with your addresses and any other auth configs you may have.

1 Like