Skip to content

Commit 968534a

Browse files
committed
Generated markdown tutorials from Jupyter Notebooks
Generated from: couchbase-examples/vector-search-cookbook
1 parent 4b47dac commit 968534a

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

tutorial/markdown/generated/vector-search-cookbook/autovec-structured-autovec_langchain.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
# frontmatter
33
path: "/tutorial-couchbase-capella-autovectorization-workflows-with-structured-data-and-langchain"
4-
title: Auto-Vectorization of Structured Data with Couchbase Capella AI Dataplane
4+
title: Structured Vectorization with AI Data Plane (formerly AI Services)
55
short_title: Auto-Vectorization with Couchbase and Semantic Search using LangChain
66
description:
7-
- Learn how to use Couchbase Capella's AI Dataplane auto-vectorization feature to automatically convert your structured data into vector embeddings.
7+
- Learn how to use Couchbase Capella's AI Data Plane (formerly AI Services) auto-vectorization feature to automatically convert your structured data into vector embeddings.
88
- To learn about the auto-vectorization of unstuctured data read the following [tutorial](tutorial-couchbase-autovectorization-workdlows-with-unstructured-data-and-langchain).
99
- This tutorial demonstrates how to set up automated embedding generation workflows and perform semantic search using LangChain.
1010
content_type: tutorial
@@ -57,7 +57,7 @@ Now, before we actually create embeddings for the documents, we need to deploy a
5757
> **⚠️ IMPORTANT:** The model **must** be deployed in the **same region** as your database cluster for workflows to function properly. Failing to match regions will prevent the workflow from working and may require cluster redeployment.
5858
5959
## Selecting the Model
60-
1. To select the model, you first need to navigate to the "<B>AI Dataplane</B>" tab, then select "<B>Models</B>" and click on "<B>Deploy New Model</B>".
60+
1. To select the model, you first need to navigate to the "<B>AI Data Plane (formerly AI Services)</B>" tab, then select "<B>Models</B>" and click on "<B>Deploy New Model</B>".
6161

6262
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec-structured/img/importing_model.png?raw=true" width="950px" height="500px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
6363

@@ -67,7 +67,7 @@ Now, before we actually create embeddings for the documents, we need to deploy a
6767

6868
## Access Control to the Model
6969

70-
1. After deploying the model, go to the "<B>Models</B>" tab in the <B>AI Dataplane</B> and click on "<B>Setup Access</B>".
70+
1. After deploying the model, go to the "<B>Models</B>" tab in the <B>AI Data Plane (formerly AI Services)</B> and click on "<B>Setup Access</B>".
7171

7272
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec-structured/img/model_setup_access.png?raw=true" width="1100px" height="400px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
7373

@@ -84,7 +84,7 @@ Now, before we actually create embeddings for the documents, we need to deploy a
8484

8585
Now, we are at the step that will help us create the embeddings/vectors. To proceed with the vectorization process, please follow the steps below. For more details, refer to the [data processing documentation](https://docs.couchbase.com/ai/build/vectorization-service/data-processing.html).
8686

87-
1. For deploying the autovectorization, you need to go to the <B>`AI Dataplane`</B> tab, then click on <B>`Workflows`</B>, and then click on <B>`Create New Workflow`</B>.
87+
1. For deploying the autovectorization, you need to go to the <B>`AI Data Plane (formerly AI Services)`</B> tab, then click on <B>`Workflows`</B>, and then click on <B>`Create New Workflow`</B>.
8888

8989
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec-structured/img/workflow.png?raw=true" width="1000px" height="500px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
9090

tutorial/markdown/generated/vector-search-cookbook/autovec_unstructured-autovec_unstructured.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
# frontmatter
33
path: "/tutorial-couchbase-autovectorization-workflows-with-unstructured-data-and-langchain"
4-
title: Auto-Vectorization on Unstructured Data Stored in S3 Buckets Using Couchbase Capella AI Dataplane
4+
title: S3 Auto-Vectorization with AI Data Plane (formerly AI Services)
55
short_title: Auto-Vectorization on Unstructured Data Stored in S3 Buckets
66
description:
7-
- Learn how to use Couchbase Capella's AI Dataplane Auto-Vectorization feature to automatically process unstructured data from S3 buckets.
7+
- Learn how to use Couchbase Capella's AI Data Plane (formerly AI Services) Auto-Vectorization feature to automatically process unstructured data from S3 buckets.
88
- Configure workflows to chunk and vectorize documents (PDFs, images, etc.) and import them into Capella collections.
99
- Perform semantic vector search using LangChain and the generated embeddings.
1010
content_type: tutorial
@@ -39,7 +39,7 @@ When running Couchbase using [Capella](https://cloud.couchbase.com/sign-in), the
3939
# Deploying the Model
4040
Now, before we actually create embeddings for the documents, we need to deploy a model that will create the embeddings for us. Make sure the model is deployed in the same region as that of database for workflows to work. To know more about model services click [here](https://docs.couchbase.com/ai/build/model-service/deploy-embed-model.html).
4141
## Selecting the Model
42-
1. To select the model, you first need to navigate to the "<B>AI Dataplane</B>" tab, then select "<B>Models</B>" and click on "<B>Deploy New Model</B>".
42+
1. To select the model, you first need to navigate to the "<B>AI Data Plane (formerly AI Services)</B>" tab, then select "<B>Models</B>" and click on "<B>Deploy New Model</B>".
4343

4444
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec_unstructured/img/importing_model.png?raw=true" width="950px" height="500px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
4545

@@ -49,7 +49,7 @@ Now, before we actually create embeddings for the documents, we need to deploy a
4949

5050
## Access Control to the Model
5151

52-
1. After deploying the model, go to the "<B>Models</B>" tab in the <B>AI Dataplane</B> and click on "<B>Setup Access</B>".
52+
1. After deploying the model, go to the "<B>Models</B>" tab in the <B>AI Data Plane (formerly AI Services)</B> and click on "<B>Setup Access</B>".
5353

5454
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec_unstructured/img/model_setup_access.png?raw=true" width="1100px" height="400px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
5555

@@ -64,7 +64,7 @@ Now, before we actually create embeddings for the documents, we need to deploy a
6464
# Data upload from S3 bucket to Couchbase (with chunking and vectorization)
6565

6666
In order to import unstructured data from the S3 bucket, you need to create a workflow that connects to your S3 bucket and chunks your unstructured data before importing it into the collections. To do so, please follow the steps mentioned below:
67-
1) Let's start by creating a new workflow. This can be done by clicking on the <B>`AI Dataplane`</B> tab, then click on <B>`Workflows`</B>, and then click on <B>`Create New Workflow`</B>.
67+
1) Let's start by creating a new workflow. This can be done by clicking on the <B>`AI Data Plane (formerly AI Services)`</B> tab, then click on <B>`Workflows`</B>, and then click on <B>`Create New Workflow`</B>.
6868

6969
<img src="https://github.com/couchbase-examples/vector-search-cookbook/blob/main/autovec_unstructured/img/workflow.png?raw=true" width="1000px" height="500px" style="padding: 5px; border-radius: 10px 20px 30px 40px; border: 2px solid #555;">
7070

tutorial/markdown/generated/vector-search-cookbook/capella-model-services-llamaindex-search_based-RAG_with_Capella_Model_Services_and_LlamaIndex.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This notebook demonstrates how to build a RAG system using:
3434
- The [BBC News dataset](https://huggingface.co/datasets/RealTimeData/bbc_news_alltime) containing news articles
3535
- Couchbase Capella as the vector store
3636
- LlamaIndex framework for the RAG pipeline
37-
- Capella AI Dataplane for embeddings and text generation
37+
- Capella AI Data Plane (formerly AI Services) for embeddings and text generation
3838

3939
Semantic search goes beyond simple keyword matching by understanding the context and meaning behind the words in a query, making it an essential tool for applications that require intelligent information retrieval. This tutorial will equip you with the knowledge to create a fully functional RAG system using Capella Model Services and LlamaIndex.
4040

@@ -437,9 +437,9 @@ try:
437437

438438
# Configure LlamaIndex to use this LLM
439439
Settings.llm = llm
440-
logging.info("Successfully created the LLM in Capella AI Dataplane")
440+
logging.info("Successfully created the LLM in Capella AI Data Plane (formerly AI Services)")
441441
except Exception as e:
442-
raise ValueError(f"Error creating LLM in Capella AI Dataplane: {str(e)}")
442+
raise ValueError(f"Error creating LLM in Capella AI Data Plane (formerly AI Services): {str(e)}")
443443
```
444444

445445
# Creating the Vector Store Index
@@ -492,9 +492,9 @@ except RecursionError as e:
492492
raise RuntimeError(f"Error performing semantic search: {e}")
493493
```
494494

495-
## Caching in Capella AI Dataplane
495+
## Caching in Capella AI Data Plane (formerly AI Services)
496496

497-
To optimize performance and reduce costs, Capella AI Dataplane employs two caching mechanisms:
497+
To optimize performance and reduce costs, Capella AI Data Plane (formerly AI Services) employs two caching mechanisms:
498498

499499
1. Semantic Cache
500500

@@ -560,6 +560,6 @@ The key components of our RAG system include:
560560

561561
1. **Couchbase Capella** as the vector database for storing and retrieving document embeddings
562562
2. **LlamaIndex** as the framework for connecting our data to the LLM
563-
3. **Capella AI Dataplane** for generating embeddings and LLM responses
563+
3. **Capella AI Data Plane (formerly AI Services)** for generating embeddings and LLM responses
564564

565565
This approach allows us to enhance the capabilities of large language models by grounding their responses in specific, up-to-date information from our knowledge base.

0 commit comments

Comments
 (0)