community: Add configurable VisualFeatures
to the AzureAiServicesImageAnalysisTool
#27444
+182
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for contributing to LangChain!
PR title: community: Add configurable
VisualFeatures
to theAzureAiServicesImageAnalysisTool
PR message:
AzureAiServicesImageAnalysisTool
is a good service and utilises the Azure AI Vision package under the hood. However, since the creation of this tool, newVisualFeatures
have been added to allow the user to request other image specific information to be returned. Currently, the tool offers neither configuration of which features should be return nor does it offer any newer feature types. The aim of this PR is to address this and expose more of the Azure Service in this integration.Add tests and docs: If you're adding a new integration, please include
Lint and test: All linting has passed.