-
Notifications
You must be signed in to change notification settings - Fork 20.3k
Adding Marqo to vectorstore ecosystem #7068
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
|
For now, I've moved this across to a new PR as the harrison/marqo branch needs substantial merging and can't automatically merged across. Do you prefer me to create a new PR to harrison/marqo? |
|
@baskaryan @rlancemartin everything looks to be passing now. Let me know if there is anything more to be done on this, happy to do whatever is needed to get this across the line. Thanks so much! |
Great. Just kicked off tests and will merge once we confirm all pass. |
Please run "make format" to resolve Lint errors. |
|
@rlancemartin sorry about that - completed now |
np! looks like an issue w/ try this: gets the latest |
hwchase17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks
|
Thanks for the help @hwchase17! I was just getting that fixed up but you're right ahead of me. Super impressive how helpful you've been. |
A number of Lint errors due to line length. One of us can take this if you don't have time to do it soon. We'll plan to get this merged today. |
|
working on it now |
|
|
|
sorry one moment, ive accidentally added some unneeded lock file changes |
|
Done, should be good to go |
|
Looks like I didnt lint the file in the correct way, going to try again with Black |
|
@rlancemartin thanks so much for your help! Looks like everything passed 🎉 |
This PR improves the example notebook for the Marqo vectorstore implementation by adding a new RetrievalQAWithSourcesChain example. The `embedding` parameter in `from_documents` has its type updated to `Union[Embeddings, None]` and a default parameter of None because this is ignored in Marqo. This PR also upgrades the Marqo version to 0.11.0 to remove the device parameter after a breaking change to the API. Related to #7068 @tomhamer @hwchase17 --------- Co-authored-by: Tom Hamer <[email protected]>
This PR brings in a vectorstore interface for Marqo.
The Marqo vectorstore exposes some of Marqo's functionality in addition the the VectorStore base class. The Marqo vectorstore also makes the embedding parameter optional because inference for embeddings is an inherent part of Marqo.
Docs, notebook examples and integration tests included.
Related PR:
#2807