Python
Sign in to follow topics
Featured
All Python Content
- Latest
- Highest Rated
Tutorial
Local-first and Reasoning-enhanced RAG With DeepSeek and MongoDB
Discover how DeepSeek’s innovative open-source models—DeepSeek-V3, DeepSeek Coder, and the groundbreaking reasoning model DeepSeek-R1—are revolutionizing local-first, retrieval-augmented generation (RAG) applications with MongoDB. This comprehensive guide details how cutting-edge chain-of-thought reasoning and model distillation techniques enhance AI performance and explainability. Learn how integrating tools like Ollama, Nomic-Text-Embed, LangChain, and Streamlit with MongoDB Atlas enables secure, scalable, and privacy-focused deployments ideal for industries such as healthcare and defense. Unlock advanced technical insights and step-by-step implementation strategies to build dynamic on-device AI applications that process and analyze sensitive documents with unparalleled accuracy and flexibility.Feb 04, 2025
Article
Depth-first Hybrid Search for GraphRAG
This article compares five retrieval strategies namely pre-filtering, vector search, full-text search, hybrid search, and graph-based retrieval for RAG.Feb 02, 2025
(+1)
Tutorial
DeepSeek and the Future of LLMs: Why MongoDB’s LLM-agnostic Approach Matters
Discover how DeepSeek-R1—a revolutionary open-source LLM trained with innovative reinforcement learning—challenges commercial giants like GPT-4, while MongoDB’s LLM-agnostic architecture powers a cost-efficient, real-time retrieval-augmented generation system. Learn about advanced reasoning, benchmark performance, and practical implementation steps that make this cutting-edge AI solution a game-changer in the evolving AI landscape.Feb 01, 2025
(+1)
Tutorial
Boosting AI: Build Your Chatbot Over Your Data With MongoDB Atlas Vector Search and LangChain Templates Using the RAG Pattern
Learn how to enhance your AI chatbot's accuracy with MongoDB Atlas Vector Search and LangChain Templates using the RAG pattern in our guide.Jan 29, 2025
Video
Improve Your LLM Applications Using Parent Document Retrieval
✅ Try MongoDB 8.0 → https://mdb.link/v=-fcuS0rk1KY ✅ Sign-up for a free cluster → https://mdb.link/v=-fcuS0rk1KY-free ✅ Written version → https://mdb.link/v=-fcuS0rk1KY-written - In this livestream, you will learn about an advanced retrieval technique called parent document retrieval. We will look at use cases where this technique is useful and how it works, followed by a live code walkthrough of how to implement it in RAG and agentic applications.Jan 16, 2025
Video
Building a Test Framework with MongoDB
Try MongoDB 8.0 → https://mdb.link/Bz7qAxMXKo4 Sign-up for a free cluster → https://mdb.link/Bz7qAxMXKo4-8.0 Subscribe to MongoDB YouTube→ https://mdb.link/subscribe 🎥 Dive into the world of MongoDB testing with Pytest! In this tutorial, Developer Advocate Mark Smith shows you how to leverage Pytest fixtures for running tests on your MongoDB cluster with ease and efficiency. 🔍 What You’ll Learn: How to create and use Pytest fixtures to manage MongoDB client sessions How to write integration tests using transactions in MongoDB to ensure that your database states are clean post-testing The importance of a data access layer (DAL) when interfacing with your MongoDB database Efficiently testing CRUD operations with a fun Pirates theme! 🛠 Key Features: Setting up your MongoDB client and handling session scope Using transactions to allow changes to your database that automatically rollback after tests Understanding the power of fixtures over simple utility functions Whether you're developing apps or looking to write robust tests for your MongoDB data interactions, this video is packed with essential techniques to enhance your workflow and ensure optimal data integrity. Visit Mongodb.com → https://www.mongodb.com Read the MongoDB Blog → https://www.mongodb.com/blog Check out the MongoDB Developer Center → https://www.mongodb.com/developerJan 14, 2025
Tutorial
Testing and Packaging a Python Library
Learn how to build pytest fixtures for testing code that interacts with a MongoDB database, and how to package a Python library using the hatchling library.Jan 13, 2025