Further Information
Usage behind a corporate proxy
If a chain needs to access to an external service, there will be a constructor parameter for passing the http client. The WebClient is used for the following chains:
- AzureOpenAiChatCompletionsChain
- AzureOpenAiCompletionsChain
- OpenAiChatCompletionsChain
- OpenAiCompletionsChain
There exists plenty of public documentation on how to configure a http proxy for those cases. One example is this one from Baeldung.
For accessing an Elasticsearch cluster the Elasticsearch Low Level Client is used. The official documentation shows how to use a proxy in this case.