chunk_id stringlengths 26 26 | page_id stringlengths 24 24 | source_name stringclasses 50
values | product_name stringclasses 46
values | url stringlengths 31 126 | title stringlengths 3 78 | text stringlengths 22 8k | embedding listlengths 1.02k 1.02k |
|---|---|---|---|---|---|---|---|
6abbddbbc55cf82488ba663e-0 | 6abbddbbc55cf82488ba663e | agentengine | null | https://mongodb.com/docs/agentengine/sdk/javascript/packages/agent-engine-memory | @mongodb-js/agent-engine-sdk-memory | # @mongodb-js/agent-engine-sdk-memory
MongoDB Atlas Agent Engine is in Public Preview and intended for evaluation and prototyping purposes only. We do not recommend production deployments during preview and expect to communicate breaking changes with you periodically. To learn more about preview feature considerations... | [
-0.0031837669666856527,
0.008002147078514099,
0.055817242711782455,
-0.000003427082447160501,
0.003714032005518675,
0.0029646758921444416,
0.07455401122570038,
0.060832101851701736,
-0.037046898156404495,
0.023960337042808533,
-0.03706464543938637,
0.014414520002901554,
-0.012850501574575901... |
6abbddbac55cf82488ba65b9-0 | 6abbddbac55cf82488ba65b9 | agentengine | null | https://mongodb.com/docs/agentengine/cli/agentengine_atlas_database-user_save | agentengine atlas database-user save | # agentengine atlas database-user save
MongoDB Atlas Agent Engine is in Public Preview and intended for evaluation and prototyping purposes only. We do not recommend production deployments during preview and expect to communicate breaking changes with you periodically. To learn more about preview feature consideration... | [
0.055729568004608154,
-0.016767945140600204,
0.013137460686266422,
-0.01844795234501362,
0.03136672079563141,
-0.06273281574249268,
-0.015239991247653961,
0.04650494456291199,
-0.05914054811000824,
0.0325477160513401,
-0.03543093055486679,
-0.018838172778487206,
-0.050141170620918274,
-0.0... |
6abbddbac55cf82488ba65b4-0 | 6abbddbac55cf82488ba65b4 | agentengine | null | https://mongodb.com/docs/agentengine/add-features/memory-only | Use the Standalone Memory Service | # Use the Standalone Memory Service
MongoDB Atlas Agent Engine is in Public Preview and intended for evaluation and prototyping purposes only. We do not recommend production deployments during preview and expect to communicate breaking changes with you periodically. To learn more about preview feature considerations, ... | [
0.03598061203956604,
-0.0054625398479402065,
0.05298667401075363,
-0.029703577980399132,
0.031030360609292984,
-0.053165774792432785,
0.042277246713638306,
0.09113217145204544,
-0.01437748409807682,
0.02610573172569275,
-0.021721411496400833,
0.025325004011392593,
-0.03396418318152428,
-0.... |
6abbddbac55cf82488ba65b4-1 | 6abbddbac55cf82488ba65b4 | agentengine | null | https://mongodb.com/docs/agentengine/add-features/memory-only | Use the Standalone Memory Service | ### Steps
#### Sign in and create a context.
To sign into the Atlas Agent Engine and create a context, complete the following steps:
- Set the following values in your shell. Replace `<atlas-organization-id>` and `<atlas-project-id>` with the IDs of the Atlas organization and project that contain your cluster:
``... | [
0.037959448993206024,
0.00011444734263932332,
0.0579717680811882,
-0.020162394270300865,
0.022535551339387894,
-0.04123158007860184,
0.03321381285786629,
0.05677076801657677,
-0.010077753104269505,
0.007748492527753115,
0.011013097129762173,
0.005385010037571192,
-0.011919580399990082,
-0.... |
6abbddbac55cf82488ba65b4-2 | 6abbddbac55cf82488ba65b4 | agentengine | null | https://mongodb.com/docs/agentengine/add-features/memory-only | Use the Standalone Memory Service | #### Record and retrieve conversation context.
In your application, add the following code to create a client, bind a user identity, record turns, and retrieve relevant context for the same session:
```python
import json
import os
import uuid
from agent_engine_sdk_memory import Memory, MemoryRequestContext
run_id =... | [
0.024335740134119987,
0.0002523536968510598,
0.05704686418175697,
0.0025779358111321926,
0.024711698293685913,
-0.026160236448049545,
0.04667488485574722,
0.04608866572380066,
-0.006016104482114315,
0.017883436754345894,
0.012924114242196083,
0.04394841194152832,
-0.009474494494497776,
-0.... |
6abbddbac55cf82488ba65b4-3 | 6abbddbac55cf82488ba65b4 | agentengine | null | https://mongodb.com/docs/agentengine/add-features/memory-only | Use the Standalone Memory Service | ### Troubleshoot Local Connection Errors
When running a local memory stack, you might see a `MemoryRouteNotFoundError` (404) error. To address this error, ensure that you do not set the `project_id` value.
The SDK uses your `project_id` value to identify the URL path that receives requests. When `project_id` is not s... | [
0.04643234238028526,
0.0011431321036070585,
0.09783727675676346,
0.031152019277215004,
0.008362161926925182,
-0.05235832557082176,
0.02994382567703724,
0.084541916847229,
-0.03380517661571503,
0.018741335719823837,
0.01661047711968422,
0.0422329343855381,
-0.042187873274087906,
-0.01918032... |
6abbddbcc55cf82488ba665f-0 | 6abbddbcc55cf82488ba665f | agentengine | null | https://mongodb.com/docs/agentengine/sdk/python/packages/agent-engine-sdk-langgraph/docs/durable-deep-agent | Durable Deep Agent delegation | # Durable Deep Agent delegation
MongoDB Atlas Agent Engine is in Public Preview and intended for evaluation and prototyping purposes only. We do not recommend production deployments during preview and expect to communicate breaking changes with you periodically. To learn more about preview feature considerations, see ... | [
0.02947877161204815,
0.013777934946119785,
0.08448383212089539,
-0.005945362150669098,
0.02055908367037773,
-0.06189330667257309,
0.028741830959916115,
0.001386295654810965,
0.00162680319044739,
0.011900310404598713,
-0.0010669773910194635,
0.02374696545302868,
-0.008262204006314278,
-0.01... |
6abbddbcc55cf82488ba665f-1 | 6abbddbcc55cf82488ba665f | agentengine | null | https://mongodb.com/docs/agentengine/sdk/python/packages/agent-engine-sdk-langgraph/docs/durable-deep-agent | Durable Deep Agent delegation | "### Message identity follows graph state\n\nDeep Agent creates the delegated input `HumanMessage`, (...TRUNCATED) | [0.051872555166482925,0.004998786840587854,0.03756703808903694,0.00004060746869072318,0.012286606244(...TRUNCATED) |
6abbddbbc55cf82488ba65ec-0 | 6abbddbbc55cf82488ba65ec | agentengine | null | https://mongodb.com/docs/agentengine/cli/agentengine_deploy_get | agentengine deploy get | "# agentengine deploy get\n\nMongoDB Atlas Agent Engine is in Public Preview and intended for evalua(...TRUNCATED) | [0.04667111113667488,0.02361149899661541,0.004906802903860807,0.020422393456101418,0.009261528030037(...TRUNCATED) |
6abbddbac55cf82488ba65db-0 | 6abbddbac55cf82488ba65db | agentengine | null | https://mongodb.com/docs/agentengine/cli/agentengine_create | agentengine create | "# agentengine create\n\nMongoDB Atlas Agent Engine is in Public Preview and intended for evaluation(...TRUNCATED) | [0.007412058766931295,-0.034253962337970734,0.042727869004011154,-0.014004113152623177,0.01459038630(...TRUNCATED) |
Overview
This dataset consists of chunked and embedded versions of a small subset of MongoDB's technical documentation. It contains 795 chunks from 498 documentation pages, sampled from 50 documentation sources.
Dataset Structure
The dataset consists of the following fields:
- chunk_id: Unique identifier for the chunk.
- page_id: Identifier of the documentation page the chunk came from.
- source_name: The documentation source, such as
pymongooratlas-cli. - product_name: The product the page documents, when available.
- url: Link to the documentation page.
- title: Title of the documentation page.
- text: Content of the chunk in Markdown format.
- embedding: The embedding of the chunk's content, created using Voyage AI's voyage-4-large model with 1024 dimensions and
input_type="document".
Pages were split into chunks of up to ~2,000 tokens at Markdown heading boundaries. Because the Voyage 4 models share an embedding space, you can embed queries for this dataset with voyage-4-large, voyage-4, or voyage-4-lite.
Usage
This dataset can be useful for prototyping RAG applications. It is derived from mongodb-eai/docs.
Ingest Data
To experiment with this dataset using MongoDB Atlas, first create a MongoDB Atlas account.
You can then use the following script to load this dataset into your MongoDB Atlas cluster:
import os
from datasets import load_dataset
from pymongo import MongoClient
client = MongoClient(os.environ["MONGODB_URI"])
collection = client["your_database_name"]["mongodb_docs"]
dataset = load_dataset("MongoDB/mongodb-docs-chunked", split="train")
collection.insert_many(dataset.to_list())
print(f"Ingested {len(dataset)} documents")
- Downloads last month
- 78