-
Notifications
You must be signed in to change notification settings - Fork 492
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
Vector DB integration inside of ChatGPT Agent #264
Vector DB integration inside of ChatGPT Agent #264
Conversation
a353664
to
3ea8516
Compare
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.
overall lgtm, left some comments/questions
self.vectorstore = Pinecone(index, self.embeddings.embed_query, "text") | ||
|
||
async def add_texts(self, texts, **kwargs): | ||
func = partial(self.vectorstore.add_texts, texts, **kwargs) |
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.
does pinecone not support async at all?
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.
No, it does not support async.
* Add pinecone integration with ChatGPT agent * Make top_k default to 3 * Use getenv * Remove reassigned import * Add vector db sender instead of sending as bot * Fix mypy
* Add pinecone integration with ChatGPT agent * Make top_k default to 3 * Use getenv * Remove reassigned import * Add vector db sender instead of sending as bot * Fix mypy
No description provided.