Skip to content

Added Couchbase similarity search tutorial #2

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

capemox
Copy link
Collaborator

@capemox capemox commented Apr 24, 2025

Followed the Mistral tutorial format on vector search cookbook (here) and the Qdrant similarity search format (here)

@capemox capemox requested a review from nithishr April 24, 2025 10:43
@capemox capemox self-assigned this Apr 24, 2025
"metadata": {},
"source": [
"### Creating Couchbase Vector Search Index\n",
"In order to store Gemini embeddings onto a Couchbase Cluster, a vector search index needs to be created first. We included a sample index definition that will work with this tutorial in the `gemini_index.json` file. The definition can be used to create a vector index on Couchbase Capella, on more information on vector indexes, please read [Create a Vector Search Index on Capella](https://docs.couchbase.com/cloud/vector-search/create-vector-search-index-ui.html). Particularly, you can check [this section](https://docs.couchbase.com/cloud/current/vector-search/create-vector-search-index-ui.html#example) on how you can import `gemini_index.json`.\n",

Choose a reason for hiding this comment

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

We need a way inside tutorial to add gemini index. If someone is just seeing tutorial on developer portal, then it would make no sense on what this index is. Please do something like #1 or just give index definition in tutorial itself

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I followed the format on the mistral tutorial on vector-search-cookbook, following that I only added the gemini_index.json. I guess I'll just add the index definition in the nb.

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.

2 participants