Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
2dcd1c7
DA-1075: Modified: Added FTS in folder
AayushTyagi1 Sep 23, 2025
39dcbfd
Added env and frontmatter
AayushTyagi1 Sep 23, 2025
ac36e32
DA-1075 Added Tutorial for Pydantic AI
AayushTyagi1 Sep 23, 2025
b147a02
DA-1076: Added: Modify folder structure
AayushTyagi1 Sep 23, 2025
afc3c36
DA-1076 Added Frontmatter
AayushTyagi1 Sep 23, 2025
7120860
DA-1076 Added Smolagents Tutorial for GSI
AayushTyagi1 Sep 23, 2025
e42629a
DA-1073 Modified folder struction
AayushTyagi1 Sep 23, 2025
a5bfaa1
Added Frontmatter MistralAI
AayushTyagi1 Sep 23, 2025
ab832d7
DA-1073 Added Mistral AI Tutorial
AayushTyagi1 Sep 23, 2025
51212a1
DA-1076 Added FTS Tag
AayushTyagi1 Sep 23, 2025
a85ae72
DA-1072 Added FTS Tag
AayushTyagi1 Sep 23, 2025
d0ba7e9
DA-1073: Self Review Fixes
AayushTyagi1 Sep 26, 2025
82c05a2
DA-1073: Added: Mistral AI add option for Env variable
AayushTyagi1 Sep 30, 2025
b2697d6
DA-1073: Modified: Added a description to new tutorial
AayushTyagi1 Oct 6, 2025
29849fb
DA-1073: Modified: Change Score to Distance
AayushTyagi1 Oct 6, 2025
03631ef
Merge branch 'main' into DA-1073-mistral-ai-gsi-tutorial
AayushTyagi1 Oct 6, 2025
d5dbf18
Merge branch 'main' into DA-1076-smolagenst-gsi-tutorial
AayushTyagi1 Oct 23, 2025
f1b96a6
Alternate Text added
AayushTyagi1 Oct 23, 2025
c213f15
Headings Fix
AayushTyagi1 Oct 23, 2025
17282d4
Resolve review make composite in markdown
AayushTyagi1 Oct 23, 2025
b6f27f0
Frontmatter Modified and altenative tutorial lin put
AayushTyagi1 Oct 23, 2025
f92f46b
Alt index in markdown
AayushTyagi1 Oct 23, 2025
16ceb10
Frontmatter Fixed
AayushTyagi1 Oct 23, 2025
f24138d
Merge branch 'main' into DA-1075-add-gsi-tutorial-pydanticai
AayushTyagi1 Oct 27, 2025
7792c78
Merge branch 'main' into DA-1075-add-gsi-tutorial-pydanticai
AayushTyagi1 Nov 6, 2025
2ed206d
Add Description and Change Score to Distance
AayushTyagi1 Nov 6, 2025
f6042d8
DA-1075 Pydantic AI Tutorial
AayushTyagi1 Nov 6, 2025
6746ade
Final Review Pydantic AI
AayushTyagi1 Nov 7, 2025
1918672
DA-1075: Modified: Removed Caching
AayushTyagi1 Nov 7, 2025
8c7346c
Da 1075: Add GSI tutorial pydanticai (#10)
AayushTyagi1 Nov 7, 2025
c942e02
DA-1075 Modified Restart and Rerun
AayushTyagi1 Nov 7, 2025
71e4902
Revert "Da 1075: Add GSI tutorial pydanticai (#10)"
AayushTyagi1 Nov 7, 2025
b0e9710
Merge pull request #14 from couchbaselabs/revert-10-DA-1075-add-gsi-t…
AayushTyagi1 Nov 7, 2025
adff1f7
Merge pull request #13 from couchbaselabs/DA-1075-add-gsi-tutorial-py…
AayushTyagi1 Nov 7, 2025
9a581a5
Merge branch 'main' into DA-1076-smolagenst-gsi-tutorial
AayushTyagi1 Nov 7, 2025
821671c
Change Score to Distance
AayushTyagi1 Nov 7, 2025
cf80ddc
Add GSI Index description
AayushTyagi1 Nov 7, 2025
3d6d1b6
Final Review Smolagents
AayushTyagi1 Nov 7, 2025
c1fea8c
Merge branch 'main' into DA-1073-mistral-ai-gsi-tutorial
AayushTyagi1 Nov 7, 2025
b45e3c7
DA-1073 Added Mistral AI Final Review
AayushTyagi1 Nov 7, 2025
a1f9d84
DA-1076 Remove GSI Info
AayushTyagi1 Nov 7, 2025
077c456
Smolagent Remove output
AayushTyagi1 Nov 7, 2025
e036a26
langchain version fixed
AayushTyagi1 Nov 7, 2025
b276043
links fixed
AayushTyagi1 Nov 7, 2025
21ce9c4
DA-1073 Remove redudant para
AayushTyagi1 Nov 7, 2025
3b2c4d1
link fixed
AayushTyagi1 Nov 7, 2025
390aa31
DA-1073 Modified Remove cell unnecessary
AayushTyagi1 Nov 7, 2025
dfada7f
Merge pull request #12 from couchbaselabs/DA-1073-mistral-ai-gsi-tuto…
AayushTyagi1 Nov 7, 2025
d47ebc0
DA-1076 Modified Cell output
AayushTyagi1 Nov 7, 2025
fa0a572
remove double code
AayushTyagi1 Nov 7, 2025
52e453f
Update RAG_with_Couchbase_and_SmolAgents.ipynb
AayushTyagi1 Nov 7, 2025
0065074
DA-1076 Remove extra outputs
AayushTyagi1 Nov 7, 2025
af25d33
Update RAG_with_Couchbase_and_SmolAgents.ipynb
AayushTyagi1 Nov 7, 2025
593ba14
Merge pull request #11 from couchbaselabs/DA-1076-smolagenst-gsi-tuto…
AayushTyagi1 Nov 7, 2025
fd2a2b7
Merge branch 'couchbase-examples:main' into main
AayushTyagi1 Nov 7, 2025
82a5dd8
Update smolagents/fts/RAG_with_Couchbase_and_SmolAgents.ipynb
AayushTyagi1 Nov 7, 2025
8ae1296
Update pydantic_ai/fts/RAG_with_Couchbase_and_PydanticAI.ipynb
AayushTyagi1 Nov 7, 2025
74b07dd
Update mistralai/gsi/mistralai.ipynb
AayushTyagi1 Nov 7, 2025
ff8f1eb
Update mistralai/gsi/mistralai.ipynb
AayushTyagi1 Nov 7, 2025
9ba3793
Update mistralai/fts/frontmatter.md
AayushTyagi1 Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mistralai/fts/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MISTRAL_API_KEY=
CB_HOST=
CB_USERNAME=
CB_PASSWORD=
CB_BUCKET_NAME=
SCOPE_NAME=
COLLECTION_NAME=
8 changes: 4 additions & 4 deletions mistralai/frontmatter.md → mistralai/fts/frontmatter.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
# frontmatter
path: "/tutorial-mistralai-couchbase-vector-search"
title: Using Mistral AI Embeddings with Couchbase Vector Search
short_title: Mistral AI with Couchbase Vector Search
path: "/tutorial-mistralai-couchbase-vector-search-with-fts"
title: Using Mistral AI Embeddings with Couchbase Vector Search using FTS service
short_title: Mistral AI with Couchbase Vector Search using FTS service
description:
- Learn how to generate embeddings using Mistral AI and store them in Couchbase.
- Learn how to generate embeddings using Mistral AI and store them in Couchbase using FTS service.
- This tutorial demonstrates how to use Couchbase's vector search capabilities with Mistral AI embeddings.
- You'll understand how to perform vector search to find relevant documents based on similarity.
content_type: tutorial
Expand Down
18 changes: 4 additions & 14 deletions mistralai/mistralai.ipynb → mistralai/fts/mistralai.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"source": [
"# Introduction\n",
"\n",
"In this guide, we will walk you through building a powerful semantic search engine using Couchbase as the backend database, [Mistral AI](https://mistral.ai/) as the AI-powered embedding Model. 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 is designed to be beginner-friendly, with clear, step-by-step instructions that will equip you with the knowledge to create a fully functional semantic search system from scratch. Alternatively, if you want to perform semantic search using the GSI index, please take a look at [this.](https://developer.couchbase.com/tutorial-mistralai-couchbase-vector-search-with-global-secondary-index)\n",
"\n",
"Couchbase is a NoSQL distributed document database (JSON) with many of the best features of a relational DBMS: SQL, distributed ACID transactions, and much more. [Couchbase Capella™](https://cloud.couchbase.com/sign-up) is the easiest way to get started, but you can also download and run [Couchbase Server](http://couchbase.com/downloads) on-premises.\n",
"\n",
"Mistral AI is a research lab building the best open source models in the world. La Plateforme enables developers and enterprises to build new products and applications, powered by Mistral’s open source and commercial LLMs. \n",
Expand All @@ -22,18 +24,6 @@
"- [Guardrailing](https://docs.mistral.ai/capabilities/guardrailing/), enables developers to enforce policies at the system level of Mistral models\n"
]
},
{
"cell_type": "markdown",
"id": "e1b63ae5",
"metadata": {},
"source": [
"# How to run this tutorial\n",
"\n",
"This tutorial is available as a Jupyter Notebook (`.ipynb` file) that you can run interactively. You can access the original notebook [here](https://github.com/couchbase-examples/vector-search-cookbook/blob/main/mistralai/mistralai.ipynb).\n",
"\n",
"You can either download the notebook file and run it on [Google Colab](https://colab.research.google.com/) or run it on your system by setting up the Python environment."
]
},
{
"cell_type": "markdown",
"id": "7898559f",
Expand Down Expand Up @@ -380,7 +370,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -394,7 +384,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.0"
"version": "3.13.3"
}
},
"nbformat": 4,
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions mistralai/gsi/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MISTRAL_API_KEY=
CB_HOST=
CB_USERNAME=
CB_PASSWORD=
CB_BUCKET_NAME=
SCOPE_NAME=
COLLECTION_NAME=
21 changes: 21 additions & 0 deletions mistralai/gsi/frontmatter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# frontmatter
path: "/tutorial-mistralai-couchbase-vector-search-with-global-secondary-index"
title: Using Mistral AI Embeddings using GSI Index
short_title: Mistral AI with Couchbase GSI Index
description:
- Learn how to generate embeddings using Mistral AI and store them in Couchbase using GSI.
- This tutorial demonstrates how to use Couchbase's GSI index capabilities with Mistral AI embeddings.
- You'll understand how to perform optimized vector search using Global Secondary Index for better performance.
content_type: tutorial
filter: sdk
technology:
- vector search
tags:
- Artificial Intelligence
- Mistral AI
- GSI
sdk_language:
- python
length: 30 Mins
---
Loading