Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b6ba330
Apply phase 2 notebook crawlability updates
sis0k0 Jul 2, 2026
f754ff4
Clear pip install outputs from agent notebooks
sis0k0 Jul 2, 2026
f5e61f4
Replace !pip with %pip in agent notebooks
sis0k0 Jul 2, 2026
433dab8
Add Open in Colab buttons to all notebooks
sis0k0 Jul 2, 2026
a3bb620
Patch dead notebook links and add link audit report
sis0k0 Jul 2, 2026
3b6506e
Normalize agent notebook installs to %pip -U -q
sis0k0 Jul 2, 2026
8be75ae
Add intro title and problem statement to agent notebooks
sis0k0 Jul 3, 2026
728a926
Migrate remaining notebooks to current Atlas vector index syntax
sis0k0 Jul 3, 2026
c05e85e
Modernize the Fireworks+Langchain Agent notebook
sis0k0 Jul 3, 2026
91ac8bd
Cosmetic changes
sis0k0 Jul 3, 2026
3d3540a
Refine agent notebook narrative and env handling
sis0k0 Jul 6, 2026
ff0e989
Refine AgentChat notebook
sis0k0 Jul 8, 2026
f2a53cf
fix notebook compatibility updates and warning cleanup
sis0k0 Jul 13, 2026
717e216
Refine AI Agent with Pydantic and MongoDB notebook
sis0k0 Jul 22, 2026
e1ff6b2
Remove extraneous artifacts
sis0k0 Jul 22, 2026
040b579
Apply pre-commit fixes (ruff-format, ruff, widget state)
sis0k0 Jul 22, 2026
1402fe5
Fix agentchat_RetrieveChat_mongodb: unrunnable due to ag2 1.0 + insta…
sis0k0 Aug 19, 2026
c18f6eb
Fix missing type=vectorSearch in evaluating_information_retrival_tech…
sis0k0 Aug 19, 2026
4256063
Fix agent_fireworks_ai_langchain_mongodb: empty answers, dead compres…
sis0k0 Aug 19, 2026
91bbd22
Fix ai_agent_with_pydanticai_and_mongodb: no-op relevance filter, des…
sis0k0 Aug 19, 2026
7b96886
Fix agentic_rag_factory_safety_assistant: unused required key, debug …
sis0k0 Aug 19, 2026
c2f2071
Revert fabricated URLs in langchain_parent_document_retrieval outputs
sis0k0 Aug 19, 2026
8efbb03
Clean up mechanical-rewrite artifacts across agent notebooks
sis0k0 Aug 19, 2026
42347af
Fix HTTP 429 from arXiv in agent_fireworks_ai_langchain_mongodb
sis0k0 Aug 19, 2026
65fe6a5
Install nest_asyncio explicitly where it's used but not installed
sis0k0 Aug 20, 2026
e79c029
Clean up doubled pip install flags in agent notebooks
sis0k0 Aug 20, 2026
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
5 changes: 5 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enabledPlugins": {
"mongodb@claude-plugins-official": true
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.ipynb_checkpoints
**/.DS_Store
apps/video-intelligence/frontend/public/videos/*.mp4
.env
54 changes: 54 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# AGENTS.md

Guidance for coding assistants working in this repository.

## Project Structure

- notebooks/: Jupyter notebook examples (agents, rag, evals)
- apps/: application-style demos
- workshops/: self-paced workshop content
- partners/: partner-contributed examples
- .github/workflows/tests.yml: CI checks via pre-commit

## Build and Test Commands

Repository-level checks:

```bash
python -m pip install pre-commit
pre-commit run --all-files
```

Notebook workflow (typical):

```bash
python -m venv .venv
source .venv/bin/activate
pip install -U notebook
jupyter notebook
```

## Environment Variables and Configuration

Common variables used in notebooks:
- MONGODB_URI (or equivalent MongoDB Atlas URI variable)
- Provider keys as required by notebook (for example OPENAI_API_KEY, ANTHROPIC_API_KEY)

Always read notebook setup cells before running and export required variables in your shell/kernel.

## MongoDB Skills

Use the official MongoDB agent skills from https://github.com/mongodb/agent-skills whenever the task is MongoDB-specific and a matching skill exists.

## When To Use EDD.md

Use EDD.md as a schema source of truth when a notebook/app evolves into a larger multi-file project with stable entities and indexes.

For small, self-contained notebook examples, EDD.md is optional.

## appName Guidance

When updating MongoDB client initialization, keep or add appName for observability.
Accepted project formats include both:
- hyphen style: devrel-medium-primary-secondary-optional
- dot style: devrel.showcase.notebook.agent.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"id": "oB0TFkwoNsv7"
},
"source": [
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/evaluating_information_retrival_techniques_mongondb_langchain.ipynb)\n",
"\n",
"# Information Retrieval Evaluation With BEIR Benchmark and LangChain and MongoDB\n",
"\n",
"\n",
Expand Down Expand Up @@ -410,6 +412,7 @@
" new_vector_search_index_model = SearchIndexModel(\n",
" definition=index_definition,\n",
" name=index_name,\n",
" type=\"vectorSearch\",\n",
" )\n",
"\n",
" # Create the new index\n",
Expand All @@ -420,6 +423,7 @@
" print(f\"New index '{index_name}' created successfully:\", result)\n",
" except Exception as e:\n",
" print(f\"Error creating new vector search index '{index_name}': {e!s}\")\n",
" raise\n",
"\n",
"\n",
"def create_collection_search_index(collection, index_definition, index_name):\n",
Expand Down Expand Up @@ -485,17 +489,15 @@
"outputs": [],
"source": [
"corpus_vector_search_index_definition = {\n",
" \"mappings\": {\n",
" \"dynamic\": True,\n",
" \"fields\": {\n",
" \"embedding\": {\n",
" \"dimensions\": 256,\n",
" \"similarity\": \"cosine\",\n",
" \"type\": \"knnVector\",\n",
" },\n",
" },\n",
" }\n",
"}"
" \"fields\": [\n",
" {\n",
" \"type\": \"vector\",\n",
" \"path\": \"embedding\",\n",
" \"numDimensions\": 256,\n",
" \"similarity\": \"cosine\",\n",
" }\n",
" ]\n",
"}\n"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "24e92416",
"metadata": {},
"source": [
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/instruction-following-reranking.ipynb)\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/instruction_following_reranking.ipynb)\n",
"\n",
"[![View Article](https://img.shields.io/badge/View%20Article-blue)](https://www.mongodb.com/developer/products/atlas/parent-doc-retrieval/?utm_campaign=devrel&utm_source=cross-post&utm_medium=organic_social&utm_content=https%3A%2F%2Fgithub.com%2Fmongodb-developer%2FGenAI-Showcase&utm_term=apoorva.joshi)"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"\n",
"---\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/evaluating_information_retrival_techniques_mongondb_langchain.ipynb)\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/quantized_vector_ingestion_with_cohere_and_mongodb.ipynb)\n",
"\n",
"\n",
"You can view an article version of this notebook here:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "98a36217-0e7e-441f-a382-b120d43092e6",
"metadata": {},
"source": [
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/retrieval_cost_latency_optimization.ipynb)\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mongodb-developer/GenAI-Showcase/blob/main/notebooks/advanced_techniques/retrieval_optimization.ipynb)\n",
"\n",
"[![View Article](https://img.shields.io/badge/View%20Article-blue)](https://www.mongodb.com/company/blog/technical/retrieval-optimization/?utm_campaign=devrel&utm_source=cross-post&utm_medium=organic_social&utm_content=https%3A%2F%2Fgithub.com%2Fmongodb-developer%2FGenAI-Showcase&utm_term=apoorva.joshi)"
]
Expand Down
Loading
Loading