Skip to content

Commit 14b5274

Browse files
authored
Merge pull request #218 from mongodb-developer/rename/atlas-search-to-mongodb-search
Rename Atlas Search → MongoDB Search across codebase
2 parents 2fe3033 + a6e6050 commit 14b5274

54 files changed

Lines changed: 4939 additions & 4955 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/RT-voice-ts-store-agent/scripts/seed-db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* This script loads product data from a JSON file, computes embeddings for each document
77
* using the Vercel AI SDK, seeds (upserts) each document into the "products" collection in the
8-
* "ai_shop" database, and then creates both an Atlas Search index and a vector search index.
8+
* "ai_shop" database, and then creates both an MongoDB Search index and a vector search index.
99
*
1010
* It uses a dedicated MongoDB client instance created with custom appName settings.
1111
*
@@ -90,7 +90,7 @@ async function createSearchIndex(client) {
9090
}
9191
}]
9292
});
93-
console.log("Successfully created Atlas Search index on 'products' collection");
93+
console.log("Successfully created MongoDB Search index on 'products' collection");
9494
} catch (e) {
9595
console.error("Failed to create search index:", e);
9696
}

apps/graph_rag_demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This guide explores how to leverage MongoDB's capabilities to create and manipul
4343
} ]
4444
}
4545
```
46-
After this create an Atlas Search Index on the <code>knowledge_graph</code> collection. [Please refer this document](https://www.mongodb.com/docs/compass/current/indexes/create-search-index/). Please name the Atlas Search Index as <code>default</code>
46+
After this create an MongoDB Search Index on the <code>knowledge_graph</code> collection. [Please refer this document](https://www.mongodb.com/docs/compass/current/indexes/create-search-index/). Please name the MongoDB Search Index as <code>default</code>
4747

4848

4949

apps/graph_rag_demo/addEmbeddings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function run() {
1717
const collection = database.collection("knowledge_graph");
1818
const dbConfig = {
1919
collection: collection,
20-
indexName: "vector_index", // The name of the Atlas search index to use.
20+
indexName: "vector_index", // The name of the MongoDB search index to use.
2121
textKey: "chunks", // Field name for the raw text content. Defaults to "text".
2222
embeddingKey: "embedding", // Field name for the vector embeddings. Defaults to "embedding".
2323
};

apps/local-bot/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Step-by-Step Guide: Building a Local Chatbot with Streamlit, LangChain, Ollama, and MongoDB Atlas
22

3-
In this tutorial, we'll set up a local chatbot using **Streamlit**, **LangChain**, **Ollama**, and **MongoDB Atlas Search**. This bot will leverage MongoDB's powerful Atlas Search capabilities alongside local LLMs (Large Language Models) via Ollama, allowing you to enhance user queries with context from chat history.
3+
In this tutorial, we'll set up a local chatbot using **Streamlit**, **LangChain**, **Ollama**, and **MongoDB Search**. This bot will leverage MongoDB's powerful MongoDB Search capabilities alongside local LLMs (Large Language Models) via Ollama, allowing you to enhance user queries with context from chat history.
44

55
## Prerequisites
66
Before starting, make sure you have the following installed:
@@ -40,7 +40,7 @@ Here’s a quick rundown of the tools we’re using in this project:
4040
* *[Streamlit](https://streamlit.io)*: A Python library for easily creating data-based web applications. We'll use it to create a local chatbot interface.
4141
* *[LangChain](https://langchain.com)*: A framework that simplifies working with LLMs and document processing. It will assist processing user queries and generate responses.
4242
* *[Ollama](https://ollama.com)*: A solution for deploying LLMs locally without external API dependency. It to host our models.
43-
* *[MongoDB Atlas Search](https://www.mongodb.com/products/platform/atlas-search)*: Adds a powerful, flexible vector search functionality to our app. It will store user queries and responses in MongoDB.
43+
* *[MongoDB Search](https://www.mongodb.com/products/platform/atlas-search)*: Adds a powerful, flexible vector search functionality to our app. It will store user queries and responses in MongoDB.
4444

4545
### Setting Up `requirements.txt`
4646

@@ -268,7 +268,7 @@ At this point, you can start prompting with inputs like “Who started AT&T?”
268268

269269
## Conclusion and Next Steps
270270

271-
In this tutorial, we built a local chatbot setup using MongoDB Atlas Search and local LLMs via Ollama, integrated through Streamlit. This project forms a robust foundation for further development and deployment.
271+
In this tutorial, we built a local chatbot setup using MongoDB Search and local LLMs via Ollama, integrated through Streamlit. This project forms a robust foundation for further development and deployment.
272272

273273
Possible Extensions:
274274

apps/lyric-semantic-search/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This repo is support the [Building a Semantic Search Service With Spring AI and
33

44
Spring AI is an application framework from [Spring](https://spring.io/) that allows you to combine various AI services and plugins with your applications. With support for many chat, text-to-image, and embedding models, you can get your AI powered Java application set up for a variety of AI use cases.
55

6-
With Spring AI, MongoDB Atlas is supported as a vector database, all with [Atlas Vector Search](https://www.mongodb.com/products/platform/atlas-vector-search) to power your semantic search and implement your RAG applications. To learn more about RAG and other key concepts in AI, check out the [MongoDB AI integration docs](https://www.mongodb.com/docs/atlas/atlas-vector-search/ai-integrations/#std-label-ai-key-concepts).
6+
With Spring AI, MongoDB Atlas is supported as a vector database, all with [MongoDB Vector Search](https://www.mongodb.com/products/platform/atlas-vector-search) to power your semantic search and implement your RAG applications. To learn more about RAG and other key concepts in AI, check out the [MongoDB AI integration docs](https://www.mongodb.com/docs/atlas/atlas-vector-search/ai-integrations/#std-label-ai-key-concepts).
77

88
In this tutorial, we’ll go through what you need to get started with Spring AI and MongoDB. Adding documents to your database with the vectorised content (embeddings), and searching this content with semantic search. The full code for this tutorial is available in this [Github repository](https://github.com/timotheekelly/lyric-semantic-search).
99

apps/minimal-ts-agent/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RAG Agent Demo — How to Create an AI Agent with Minimal Coding
22

3-
Companion project for the **"How to Create an AI Agent with Minimal Coding"** video. This demo builds a fully functional RAG (Retrieval-Augmented Generation) agent that answers questions about the MongoDB Brand Book using MongoDB Atlas Vector Search, Voyage AI embeddings, and the Vercel AI SDK's `ToolLoopAgent`.
3+
Companion project for the **"How to Create an AI Agent with Minimal Coding"** video. This demo builds a fully functional RAG (Retrieval-Augmented Generation) agent that answers questions about the MongoDB Brand Book using MongoDB Vector Search, Voyage AI embeddings, and the Vercel AI SDK's `ToolLoopAgent`.
44

55
## What It Does
66

@@ -23,7 +23,7 @@ flowchart TD
2323
D -->|Reasoning step| E{Need more context?}
2424
E -->|Yes| F[searchDocumentation tool]
2525
F -->|Embed query| G[Voyage AI]
26-
G -->|Query vector| H[MongoDB Atlas Vector Search]
26+
G -->|Query vector| H[MongoDB Vector Search]
2727
H -->|Top 5 results| D
2828
E -->|No| I[Generate final response]
2929
I -->|Stream| B
@@ -92,7 +92,7 @@ VOYAGE_AI_API_KEY=your-voyage-ai-api-key
9292
npx ts-node scripts/ingest.ts
9393
```
9494

95-
This embeds 14 brand book sections with Voyage AI, inserts them into the `brand_demo.brand_book` collection, and automatically creates the Atlas Vector Search index. The index may take a minute to become ready after creation.
95+
This embeds 14 brand book sections with Voyage AI, inserts them into the `brand_demo.brand_book` collection, and automatically creates the MongoDB Vector Search index. The index may take a minute to become ready after creation.
9696

9797
### 4. Run the app
9898

apps/minimal-ts-agent/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const geistMono = Geist_Mono({
1515
export const metadata: Metadata = {
1616
title: "MongoDB RAG Agent — Brand Book Expert",
1717
description:
18-
"A fully autonomous RAG agent powered by Vercel AI SDK ToolLoopAgent and MongoDB Atlas Vector Search",
18+
"A fully autonomous RAG agent powered by Vercel AI SDK ToolLoopAgent and MongoDB Vector Search",
1919
};
2020

2121
export default function RootLayout({

apps/minimal-ts-agent/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function ChatPage() {
6464
<div>
6565
<h1 className="text-lg font-semibold">MongoDB Brand Expert</h1>
6666
<p className="text-sm text-muted">
67-
RAG Agent powered by ToolLoopAgent + Atlas Vector Search
67+
RAG Agent powered by ToolLoopAgent + MongoDB Vector Search
6868
</p>
6969
</div>
7070
<div className="ml-auto flex items-center gap-2 text-xs text-muted">
@@ -84,7 +84,7 @@ export default function ChatPage() {
8484
Ask me about the MongoDB Brand Book
8585
</h2>
8686
<p className="text-muted max-w-md">
87-
I use an agentic reasoning loop to search MongoDB Atlas Vector
87+
I use an agentic reasoning loop to search MongoDB Vector
8888
Search and deliver precise answers from the official brand
8989
guidelines.
9090
</p>

apps/mongo-feed/components/past-analysis.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function PastAnalysis() {
5252
<InfoIcon className="h-4 w-4 text-muted-foreground" />
5353
</TooltipTrigger>
5454
<TooltipContent>
55-
<p>Past analysis results are stored in MongoDB and can be quickly retrieved using Atlas vector search.</p>
55+
<p>Past analysis results are stored in MongoDB and can be quickly retrieved using MongoDB Vector Search.</p>
5656
<p className="mt-2 text-sm text-muted-foreground">
5757
Potential query: "Find similar analyses to the most recent customer feedback report"
5858
</p>

apps/mongo-mp/scripts/seed-db.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function createSearchIndex(client) {
7878
}]
7979
});
8080

81-
console.log("Successfully created Atlas Search index");
81+
console.log("Successfully created MongoDB Search index");
8282
} catch (e) {
8383
console.error('Failed to create search index:', e);
8484
}

0 commit comments

Comments
 (0)