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

community[minor]: Improve Azure AI Search vector store support #5195

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

sinedied
Copy link
Contributor

This PR improves the existing Azure Cosmos DB vector store in the following ways:

  • Add support for custom credentials
  • Set default search query type

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 24, 2024
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 3:39pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview Apr 24, 2024 3:39pm

@dosubot dosubot bot added the auto:improvement Medium size change to existing code to handle new use-cases label Apr 24, 2024
@@ -456,9 +441,6 @@ describe.skip("AzureAISearchVectorStore integration tests", () => {

const store = new AzureAISearchVectorStore(embeddings, {
indexName: INDEX_NAME,
search: {
type: AzureAISearchQueryType.Similarity,
},
});

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I've reviewed the code and noticed that the added test case explicitly accesses an environment variable via process.env. I've flagged this for your review to ensure it aligns with our environment variable usage guidelines. Keep up the great work! 🚀

@jacoblee93
Copy link
Collaborator

Seems reasonable, thank you!

@jacoblee93 jacoblee93 added the lgtm PRs that are ready to be merged as-is label Apr 24, 2024
@jacoblee93 jacoblee93 merged commit 7fae59b into langchain-ai:main Apr 24, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases lgtm PRs that are ready to be merged as-is size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants