-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
Community/Partner: Adding Azure community and partner user agent to better track usage in Python #29561
Community/Partner: Adding Azure community and partner user agent to better track usage in Python #29561
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@sinedied @santiagxf I need to run linting and tests but could you both have a look. Will add to the |
Should we move Azure clases from community to official and mark them deprecated? |
@santiagxf I think there are certain classes, for example the AzureOpenAI class within OpenAI, that I think is useful to leave as is. My feeling is that we should also give people a depreciation timeline so they know to transition over. I'd also like to compare the numbers for a bit to see if the move makes any difference at all, so maybe a few weeks or so of data could be helpful! What are your thoughts? |
I meant the ones on the Community package (langchain-community). Indeed the ones on partner packages should remain! Community should only contain the code contributed by community. |
That makes sense! Yes, for the community packages I definitely think we should remove the classes when we are ready to depreciate it completely. @santiagxf do you think we should set a final depreciation date and add this as a message in the code? I can create a seperate PR for it in the mean time. |
Deployment failed with the following error:
|
This pull request includes various changes to add a
user_agent
parameter to Azure OpenAI, Azure Search and Whisper in the Community and Partner packages. This helps in identifying the source of API requests so we can better track usage and help support the community better. I will also be adding the user_agent to the newlangchain-azure
repo as well.No issue connected or updated dependencies.
Utilises existing tests and docs