Skip to content
New issue

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

Azure OpenAI : Configure the langchain4j user-agent for reporting #611

Merged
merged 4 commits into from Feb 8, 2024

Conversation

jdubois
Copy link
Contributor

@jdubois jdubois commented Feb 7, 2024

Use langchain4j-azure-openai as the user agent, so LangChain4J usage is reported in Azure OpenAI.

The clientOptions is also set up both when creating the Netty client AND the OpenAI client, as I realised the HTTP headers were lost otherwise: I'm guessing some parameters are not passed from the Netty client to the OpenAI client, and this is to ensure not to lose any of them.

@langchain4j langchain4j merged commit b375c7b into langchain4j:main Feb 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants