Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion awsbedrock/fts/RAG_with_Couchbase_and_Bedrock.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"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/awsbedrock/RAG_with_Couchbase_and_Bedrock.ipynb).\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/awsbedrock/fts/RAG_with_Couchbase_and_Bedrock.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."
]
Expand Down
10 changes: 6 additions & 4 deletions awsbedrock/gsi/RAG_with_Couchbase_and_Bedrock.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"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/awsbedrock/RAG_with_Couchbase_and_Bedrock.ipynb).\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/awsbedrock/gsi/RAG_with_Couchbase_and_Bedrock.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."
]
Expand Down Expand Up @@ -710,7 +710,8 @@
"\n",
"As he progressed at the Ally Pally, the Manchester United fan was sent a good luck message by the club's former midfielder and ex-England captain David Beckham. In 12 months, Littler's Instagram followers have risen from 4,000 to 1.3m. Commercial backers include a clothing range, cereal firm and train company and he will appear in a reboot of the TV darts show Bullseye. Google say he was the most searched-for athlete online in the UK during 2024. On the back of his success, Littler darts, boards, cabinets, shirts are being snapped up in big numbers. \"This Christmas the junior magnetic dartboard is selling out, we're talking over 100,000. They're 20 quid and a great introduction for young children,\" said Garry Plummer, the boss of sponsors Target Darts, who first signed a deal with Littler's family when he was aged 12. \"All the toy shops want it, they all want him - 17, clean, doesn't drink, wonderful.\"\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -859,7 +860,8 @@
"\n",
"As he progressed at the Ally Pally, the Manchester United fan was sent a good luck message by the club's former midfielder and ex-England captain David Beckham. In 12 months, Littler's Instagram followers have risen from 4,000 to 1.3m. Commercial backers include a clothing range, cereal firm and train company and he will appear in a reboot of the TV darts show Bullseye. Google say he was the most searched-for athlete online in the UK during 2024. On the back of his success, Littler darts, boards, cabinets, shirts are being snapped up in big numbers. \"This Christmas the junior magnetic dartboard is selling out, we're talking over 100,000. They're 20 quid and a great introduction for young children,\" said Garry Plummer, the boss of sponsors Target Darts, who first signed a deal with Littler's family when he was aged 12. \"All the toy shops want it, they all want him - 17, clean, doesn't drink, wonderful.\"\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1072,4 +1074,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
4 changes: 2 additions & 2 deletions azure/fts/RAG_with_Couchbase_and_AzureOpenAI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"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/azure/RAG_with_Couchbase_and_AzureOpenAI.ipynb).\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/azure/fts/RAG_with_Couchbase_and_AzureOpenAI.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."
]
Expand Down Expand Up @@ -944,4 +944,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
13 changes: 8 additions & 5 deletions azure/gsi/RAG_with_Couchbase_and_AzureOpenAI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"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/azure/RAG_with_Couchbase_and_AzureOpenAI.ipynb).\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/azure/gsi/RAG_with_Couchbase_and_AzureOpenAI.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."
]
Expand Down Expand Up @@ -665,7 +665,8 @@
"Littler was hugged by his parents after victory over Meikle\n",
"\n",
"Littler returned to Alexandra Palace to a boisterous reception from more than 3,000 spectators and delivered an astonishing display in the fourth set. He was on for a nine-darter after his opening two throws in both of the first two legs and completed the set in 32 darts - the minimum possible is 27. The teenager will next play after Christmas against European Championship winner Ritchie Edhouse, the 29th seed, or Ian White, and is seeded to meet Humphries in the semi-finals. Having entered last year's event ranked 164th, Littler is up to fourth in the world and will go to number two if he reaches the final again this time. He has won 10 titles in his debut professional year, including the Premier League and Grand Slam of Darts. After reaching the World Championship final as a debutant aged just 16, Littler's life has been transformed and interest in darts has rocketed. Google say he was the most searched-for athlete online in the UK during 2024. This Christmas, more than 100,000 children are expected to be opening Littler-branded magnetic dartboards as presents. His impact has helped double the number of junior academies and has prompted plans to expand the World Championship. Littler was named BBC Young Sports Personality of the Year on Tuesday and was runner-up to athlete Keely Hodgkinson for the main award.\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -810,7 +811,8 @@
"A tearful Luke Littler hit a tournament record 140.91 set average as he started his bid for the PDC World Championship title with a dramatic 3-1 win over Ryan Meikle. The 17-year-old made headlines around the world when he reached the tournament final in January, where he lost to Luke Humphries. Starting this campaign on Saturday, Littler was millimetres away from a nine-darter when he missed double 12 as he blew Meikle away in the fourth and final set of the second-round match. Littler was overcome with emotion at the end, cutting short his on-stage interview. \"It was probably the toughest game I've ever played. I had to fight until the end,\" he said later in a news conference. \"As soon as the question came on stage and then boom, the tears came. It was just a bit too much to speak on stage. \"It is the worst game I have played. I have never felt anything like that tonight.\" Admitting to nerves during the match, he told Sky Sports: \"Yes, probably the biggest time it's hit me. Coming into it I was fine, but as soon as [referee] George Noble said 'game on', I couldn't throw them.\" Littler started slowly against Meikle, who had two darts for the opening set, but he took the lead by twice hitting double 20. Meikle did not look overawed against his fellow Englishman and levelled, but Littler won the third set and exploded into life in the fourth. The tournament favourite hit four maximum 180s as he clinched three straight legs in 11, 10 and 11 darts for a record set average, and 100.85 overall. Meanwhile, two seeds crashed out on Saturday night – five-time world champion Raymond van Barneveld lost to Welshman Nick Kenny, while England's Ryan Joyce beat Danny Noppert. Australian Damon Heta was another to narrowly miss out on a nine-darter, just failing on double 12 when throwing for the match in a 3-1 win over Connor Scutt. Ninth seed Heta hit four 100-plus checkouts to come from a set down against Scutt in a match in which both men averaged more than 97.\n",
"\n",
"Littler was hugged by his parents after victory over Meikle\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1032,7 +1034,8 @@
"These achievements highlight Littler's exceptional talent and his continued rise in professional darts.\n",
"Time taken: 1.09 seconds\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1097,4 +1100,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"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/claudeai/RAG_with_Couchbase_and_Claude(by_Anthropic).ipynb).\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/claudeai/fts/RAG_with_Couchbase_and_Claude(by_Anthropic).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."
]
Expand Down Expand Up @@ -1046,4 +1046,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
10 changes: 6 additions & 4 deletions claudeai/gsi/RAG_with_Couchbase_and_Claude(by_Anthropic).ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"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/claudeai/RAG_with_Couchbase_and_Claude(by_Anthropic).ipynb).\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/claudeai/gsi/RAG_with_Couchbase_and_Claude(by_Anthropic).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."
]
Expand Down Expand Up @@ -701,7 +701,8 @@
"Score: 0.5792, Text: After Fifa awards Saudi Arabia the hosting rights for the men's 2034 World Cup, BBC analysis editor Ros Atkins looks at how we got here and the controversies surrounding the decision.\n",
"--------------------------------------------------------------------------------\n",
"Score: 0.5877, Text: FA still to decide on endorsing Saudi World Cup bid\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -837,7 +838,8 @@
"Score: 0.5792, Text: After Fifa awards Saudi Arabia the hosting rights for the men's 2034 World Cup, BBC analysis editor Ros Atkins looks at how we got here and the controversies surrounding the decision.\n",
"--------------------------------------------------------------------------------\n",
"Score: 0.5877, Text: FA still to decide on endorsing Saudi World Cup bid\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1084,4 +1086,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
7 changes: 4 additions & 3 deletions cohere/fts/RAG_with_Couchbase_and_Cohere.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"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/cohere/RAG_with_Couchbase_and_Cohere.ipynb).\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/cohere/fts/RAG_with_Couchbase_and_Cohere.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."
]
Expand Down Expand Up @@ -804,7 +804,8 @@
"--------------------------------------------------------------------------------\n",
"Score: 0.6322, Text: 'Self-doubt, errors & big changes' - inside the crisis at Man City\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1015,4 +1016,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
10 changes: 6 additions & 4 deletions cohere/gsi/RAG_with_Couchbase_and_Cohere.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"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/cohere/RAG_with_Couchbase_and_Cohere.ipynb).\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/cohere/gsi/RAG_with_Couchbase_and_Cohere.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."
]
Expand Down Expand Up @@ -651,7 +651,8 @@
"--------------------------------------------------------------------------------\n",
"Distance: 0.3677, Text: 'Self-doubt, errors & big changes' - inside the crisis at Man City\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -798,7 +799,8 @@
"--------------------------------------------------------------------------------\n",
"Distance: 0.3677, Text: 'Self-doubt, errors & big changes' - inside the crisis at Man City\n",
"\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1054,4 +1056,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
4 changes: 2 additions & 2 deletions crewai-short-term-memory/fts/CouchbaseStorage_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"How to run this tutorial\n",
"----------------------\n",
"This tutorial is available as a Jupyter Notebook (.ipynb file) that you can run \n",
"interactively. You can access the original notebook here.\n",
"interactively. You can access the original notebook [here](https://github.com/couchbase-examples/vector-search-cookbook/blob/main/crewai-short-term-memory/fts/CouchbaseStorage_Demo.ipynb).\n",
"\n",
"You can either:\n",
"- Download the notebook file and run it on [Google Colab](https://colab.research.google.com)\n",
Expand Down Expand Up @@ -1209,4 +1209,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
11 changes: 7 additions & 4 deletions crewai-short-term-memory/gsi/CouchbaseStorage_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@
"id": "407ff72e",
"metadata": {},
"source": [
"This tutorial shows how to implement a custom memory backend for CrewAI agents using Couchbase's high-performance GSI (Global Secondary Index) vector search. CrewAI agents can retain and recall information across interactions, making them more contextually aware and effective. We'll demonstrate measurable performance improvements with GSI optimization.\n",
"This tutorial shows how to implement a custom memory backend for CrewAI agents using Couchbase's high-performance GSI (Global Secondary Index) vector search. CrewAI agents can retain and recall information across interactions, making them more contextually aware and effective. We'll demonstrate measurable performance improvements with GSI optimization. Alternatively if you want to perform semantic search using the FTS, please take a look at [this.](https://developer.couchbase.com/tutorial-crewai-short-term-memory-couchbase-with-fts)\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The link text this. is not very descriptive. Consider using more descriptive text like this tutorial to improve readability and accessibility.

Suggested change
"This tutorial shows how to implement a custom memory backend for CrewAI agents using Couchbase's high-performance GSI (Global Secondary Index) vector search. CrewAI agents can retain and recall information across interactions, making them more contextually aware and effective. We'll demonstrate measurable performance improvements with GSI optimization. Alternatively if you want to perform semantic search using the FTS, please take a look at [this.](https://developer.couchbase.com/tutorial-crewai-short-term-memory-couchbase-with-fts)\n",
"This tutorial shows how to implement a custom memory backend for CrewAI agents using Couchbase's high-performance GSI (Global Secondary Index) vector search. CrewAI agents can retain and recall information across interactions, making them more contextually aware and effective. We'll demonstrate measurable performance improvements with GSI optimization. Alternatively if you want to perform semantic search using the FTS, please take a look at [this tutorial.](https://developer.couchbase.com/tutorial-crewai-short-term-memory-couchbase-with-fts)\n",

"\n",
"**Key Features:**\n",
"- Custom CrewAI memory storage with Couchbase GSI vector search\n",
"- High-performance semantic memory retrieval\n",
"- Agent memory persistence across conversations\n",
"- Performance benchmarks showing GSI benefits\n",
"\n",
"**Requirements:** Couchbase Server 8.0+ or Capella with Query Service enabled."
"**Requirements:** Couchbase Server 8.0+ or Capella with Query Service enabled.\n",
"\n",
"You can access this notebook [here](https://github.com/couchbase-examples/vector-search-cookbook/blob/main/crewai-short-term-memory/gsi/CouchbaseStorage_Demo.ipynb)."
]
},
{
Expand Down Expand Up @@ -1650,7 +1652,8 @@
"Distance: 0.22963345721993045 (lower = more similar)\n",
"--------------------------------------------------------------------------------\n",
"Context: **Manchester City’s Impeccable Form: A Reflection of Guardiola’s Philosophy**\n",
"\n... (output truncated for brevity)\n"
"\n",
"... (output truncated for brevity)\n"
]
}
],
Expand Down Expand Up @@ -1741,4 +1744,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion crewai/fts/RAG_with_Couchbase_and_CrewAI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"How to run this tutorial\n",
"----------------------\n",
"This tutorial is available as a Jupyter Notebook (.ipynb file) that you can run \n",
"interactively. You can access the original notebook here.\n",
"interactively. You can access the original notebook [here](https://github.com/couchbase-examples/vector-search-cookbook/blob/main/crewai/fts/RAG_with_Couchbase_and_CrewAI.ipynb).\n",
"\n",
"You can either:\n",
"- Download the notebook file and run it on [Google Colab](https://colab.research.google.com)\n",
Expand Down
Loading
Loading