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

Use langchain for pinecone #40

Merged
merged 3 commits into from
Oct 4, 2023

Conversation

ristomcgehee
Copy link
Collaborator

Hi! I'm interested in helping out with this project so I found an issue that I thought I could tackle. In this PR, I'm abstracting the use of Pinecone by using VectorStore from langchain. This is a necessary step before being able to use Chroma or Supabase as a vector store. If this PR looks good, I can work on the rest of #16.

Part of #16

@seanpmorgan
Copy link
Member

Thanks @ristomcgehee! Will review shortly, but there is a CI update we need to make this week to enable testing from forked repos. Just wanted to comment so it's clear this isn't stale or forgotten

javascript-sdk/src/sdk.ts Outdated Show resolved Hide resolved
package-lock.json Show resolved Hide resolved
Copy link
Member

@cherbel cherbel left a comment

Choose a reason for hiding this comment

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

Looks good to me 🚀

Copy link
Member

@seanpmorgan seanpmorgan left a comment

Choose a reason for hiding this comment

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

LGTM as well. Thanks so much @ristomcgehee this is a great step toward where we're headed with rebuff. Per your original PR comment, feel free to move forward on #16 -- specifically using Chroma.

Since you've abstracted the vector stores to use langchain we can easily mirror your changes in #52

@seanpmorgan seanpmorgan merged commit d5dde93 into protectai:main Oct 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants