-
Notifications
You must be signed in to change notification settings - Fork 1
DA-767: Modified: Rename CouchbaseVectorStore #55
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
base: main
Are you sure you want to change the base?
Conversation
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.
Hello @AayushTyagi1, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request focuses on renaming CouchbaseVectorStore
to CouchbaseSearchVectorStore
across multiple tutorial markdown files. The change reflects an update in the naming convention of the Couchbase vector store integration within LangChain. The updated name more accurately represents the functionality of the vector store, which is designed for search operations.
Highlights
- Rename: Renamed
CouchbaseVectorStore
toCouchbaseSearchVectorStore
in tutorial markdown files. - Code Consistency: Ensured consistency in the code examples and documentation by updating the class name.
- Vector Search: Reflects the vector store's primary function for search operations.
Changelog
Click here to see the changelog
- tutorial/markdown/generated/vector-search-cookbook/CouchbaseStorage_Demo.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_AzureOpenAI.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_Bedrock.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_Claude(by_Anthropic).md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_Cohere.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_CrewAI.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_Jina_AI.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_PydanticAI.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
. - Updated dataclass Deps to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_SmolAgents.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated RetrieverTool to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/RAG_with_Couchbase_and_Voyage.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
. - Updated description to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/generated/vector-search-cookbook/memGpt_letta.md
- Replaced
CouchbaseVectorStore
import withCouchbaseSearchVectorStore
. - Updated initialization of vector store to use
CouchbaseSearchVectorStore
.
- Replaced
- tutorial/markdown/nodejs/nodejs-langchain-pdf-chat/nodejs-langchain-pdf-chat.md
- Updated description to use
CouchbaseSearchVectorStore
. - Updated initialization description to use
CouchbaseSearchVectorStore
. - Updated couchbaseConfig type to
CouchbaseSearchVectorStoreArgs
. - Updated create vector store from documents to use
CouchbaseSearchVectorStore.fromDocuments
. - Updated initialize vector store to use
CouchbaseSearchVectorStore.initialize()
. - Updated retriever to use
CouchbaseSearchVectorStore.asRetriever()
.
- Updated description to use
- tutorial/markdown/python/bedrock-serverless-pdf-chat/bedrock-serverless-pdf-chat.md
- Updated description to use
CouchbaseSearchVectorStore
. - Updated Lambda description to use
CouchbaseSearchVectorStore
. - Updated add_texts method description to use
CouchbaseSearchVectorStore
. - Updated vector store import to
CouchbaseSearchVectorStore
. - Updated vector store retriever to use
CouchbaseSearchVectorStore
. - Updated note to use
CouchbaseSearchVectorStore
.
- Updated description to use
- tutorial/markdown/python/gemini-langchain-pdf-chat/gemini-langchain-pdf-chat-py.md
- Updated description to use
CouchbaseSearchVectorStore
. - Updated initialization description to use
CouchbaseSearchVectorStore
. - Updated get_vector_store description to use
CouchbaseSearchVectorStore
. - Updated vector_store to use
CouchbaseSearchVectorStore
. - Updated save_to_vector_store description to use
CouchbaseSearchVectorStore
.
- Updated description to use
- tutorial/markdown/python/nvidia-nim-llama3-pdf-chat/nvidia-nim-llama3-pdf-chat.md
- Updated description to use
CouchbaseSearchVectorStore
. - Updated initialization description to use
CouchbaseSearchVectorStore
. - Updated get_vector_store description to use
CouchbaseSearchVectorStore
. - Updated vector_store to use
CouchbaseSearchVectorStore
. - Updated save_to_vector_store description to use
CouchbaseSearchVectorStore
.
- Updated description to use
- tutorial/markdown/python/python-haystack-pdf-chat/python-haystack-pdf-chat.md
- Updated description to use
CouchbaseSearchVectorStore
.
- Updated description to use
- tutorial/markdown/python/python-langchain-pdf-chat/python-langchain-pdf-chat.md
- Updated description to use
CouchbaseSearchVectorStore
. - Updated initialization description to use
CouchbaseSearchVectorStore
. - Updated get_vector_store description to use
CouchbaseSearchVectorStore
. - Updated vector_store to use
CouchbaseSearchVectorStore
. - Updated save_to_vector_store description to use
CouchbaseSearchVectorStore
.
- Updated description to use
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
A vector's new name,
Search now its middle name,
Find data with speed.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
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.
Code Review
The pull request involves renaming CouchbaseVectorStore
to CouchbaseSearchVectorStore
across multiple markdown files. This change appears to be a straightforward find and replace operation to reflect a change in the class name. The changes look correct.
Merge Readiness
The pull request appears to be ready for merging, as it involves a simple renaming operation that has been consistently applied across the relevant files. However, it's recommended to double-check that the new name CouchbaseSearchVectorStore
accurately reflects the functionality and that all instances have been updated correctly. I am unable to approve this pull request, and recommend that others review and approve this code before merging.
No description provided.