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

Add lancedb-haystack to integrations. #238

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

alanmeeson
Copy link
Contributor

This PR adds the LanceDB Haystack Document Store from https://github.com/alanmeeson/lancedb-haystack.

Notes from Discord discussion:
There are some interesting quirks due to the nature of LanceDB; you need to specify a schema for your metadata so that it can be turned into a pyarrow struct (and thus be searchable). Also the precision of the embedding vectors seems to be limited to an error of around 10^-7 compared to it's python form - feels like some sort of difference between the float representations.

Please take a look when you have time, and let me know if I should change anything.

Thanks!

@alanmeeson alanmeeson requested a review from a team as a code owner June 1, 2024 14:37
@bilgeyucel bilgeyucel self-requested a review June 3, 2024 12:10
Copy link
Contributor

@bilgeyucel bilgeyucel left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @alanmeeson. I left one minor comment. Also feel free to add a logo that will be displayed on a dark background 😊

integrations/lancedb.md Outdated Show resolved Hide resolved
@alanmeeson
Copy link
Contributor Author

I've updated the pip install block to be tagged as shell, got in touch with the LanceDB team and sourced the official 'light on dark' logo, and added a link to the new API docs.

Copy link
Contributor

@bilgeyucel bilgeyucel left a comment

Choose a reason for hiding this comment

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

🚀

@bilgeyucel bilgeyucel merged commit bcf39d0 into deepset-ai:main Jun 4, 2024
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