-
Notifications
You must be signed in to change notification settings - Fork 6
Autovectorization Tutorial #54
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
giriraj-singh-couchbase
wants to merge
14
commits into
main
Choose a base branch
from
DA-1096_autovec_tutorial
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
807c392
Updating AutoVec tutorial
giriraj-singh-couchbase 68e04f3
Added frontmatter.md and updated the tutorial
giriraj-singh-couchbase 9bb439b
Applied suggestions from code review
giriraj-singh-couchbase dfca154
Fixed frontmatter.md
giriraj-singh-couchbase e52bcd5
fixing minor details
giriraj-singh-couchbase 604bf29
Merge branch 'DA-1096_autovec_tutorial' of https://github.com/couchba…
giriraj-singh-couchbase fc878a4
Fixed frontmatter.md
giriraj-singh-couchbase 38d1792
Updated autovec_langchain.ipynb
giriraj-singh-couchbase 1e9bb07
fixed some screenshots
giriraj-singh-couchbase b85f7a4
updated screenshot
giriraj-singh-couchbase 69fe694
fixed grammatical mistakes
giriraj-singh-couchbase 9bcf7b9
fixed capella free-tier issue and added some missing content
giriraj-singh-couchbase 0d870b1
added missing content
giriraj-singh-couchbase 709cfe5
Updatede doc
giriraj-singh-couchbase File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Couchbase Capella AI Services Auto-Vectorization with LangChain | ||
|
||
This guide is a comprehensive tutorial demonstrating how to use Couchbase Capella's AI Services auto-vectorization feature to automatically convert your data into vector embeddings and perform semantic search using LangChain. | ||
|
||
## 📋 Overview | ||
|
||
The main tutorial is contained in the Jupyter notebook `autovec_langchain.ipynb`, which walks you through: | ||
|
||
1. **Couchbase Capella Setup** - Creating account, cluster, and access controls | ||
2. **Data Upload & Processing** - Using sample data | ||
3. **Model Deployment** - Deploying embedding models for vectorization | ||
4. **Auto-Vectorization Workflow** - Setting up automated embedding generation | ||
5. **LangChain Integration** - Building semantic search applications with vector similarity | ||
|
||
## 🚀 Quick Start | ||
|
||
### Prerequisites | ||
|
||
- Python 3.8 or higher | ||
- A Couchbase Capella account | ||
- Basic understanding of vector databases and embeddings | ||
|
||
### Installation Steps | ||
|
||
1. **Clone or download this repository** | ||
```bash | ||
git clone https://github.com/couchbase-examples/vector-search-cookbook.git | ||
cd vector-search-cookbook/autovec-tutorial | ||
``` | ||
|
||
2. **Install Python dependencies** | ||
```bash | ||
pip install jupyter | ||
pip install couchbase | ||
pip install langchain-couchbase | ||
pip install langchain-nvidia-ai-endpoints | ||
``` | ||
|
||
3. **Start Jupyter Notebook** | ||
```bash | ||
jupyter notebook | ||
``` | ||
or | ||
```bash | ||
jupyter lab | ||
``` | ||
|
||
4. **Open the tutorial notebook** | ||
- Navigate to `autovec_langchain.ipynb` in the Jupyter interface | ||
- Follow the step-by-step instructions in the notebook | ||
``` | ||
|
||
**Note**: This tutorial is designed for educational purposes. For production deployments, ensure proper security configurations and SSL/TLS verification. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# frontmatter | ||
path: "/tutorial-couchbase-autovectorization-langchain" | ||
title: Auto-Vectorization with Couchbase Capella AI Services and LangChain | ||
short_title: Auto-Vectorization with Couchbase and LangChain | ||
description: | ||
- Learn how to use Couchbase Capella's AI Services auto-vectorization feature to automatically convert your data into vector embeddings. | ||
- This tutorial demonstrates how to set up automated embedding generation workflows and perform semantic search using LangChain. | ||
content_type: tutorial | ||
filter: sdk | ||
technology: | ||
- vector search | ||
tags: | ||
- LangChain | ||
sdk_language: | ||
- python | ||
length: 20 Mins | ||
--- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.