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]: Update SingleStore vector store #5715

Merged
merged 10 commits into from
Jun 13, 2024

Conversation

volodymyr-memsql
Copy link
Contributor

Update the SingleStorevectorStore class with hybrid search functionality.
This PR contains:

  • Updated code (mostly, ported functionality that is already available in the python library)
  • Test
  • Updated document
  • New example

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jun 10, 2024
Copy link

vercel bot commented Jun 10, 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 Jun 13, 2024 9:12pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 9:12pm

@dosubot dosubot bot added auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases labels Jun 10, 2024
@volodymyr-memsql
Copy link
Contributor Author

Hello, @jacoblee93! There was an automated comment regarding env variables access from examples and tests, in my mind this is fine, as it is just an example of a possible way of connecting to the database.
Also, should I change anything in the PR before it can be merged?
Thank you!

@jacoblee93
Copy link
Collaborator

Looks reasonable, thank you!

@jacoblee93
Copy link
Collaborator

jacoblee93 commented Jun 11, 2024

Hey @volodymyr-memsql - I'm getting src/indexes/vector_stores/singlestore_hybrid_search.ts(55,5): error TS2345: Argument of type '{ searchStrategy: "FILTER_BY_TEXT"; filterThershold: number; }' is not assignable to parameter of type 'SearchConfig' in one of the files in examples/ and it's causing CI to fail. Think you could have a look?

@volodymyr-memsql
Copy link
Contributor Author

@jacoblee93, thanks for checking, I fixed the example code.

@volodymyr-memsql
Copy link
Contributor Author

@jacoblee93, are any other changes needed for the PR?

@jacoblee93
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants