Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
Python
plus
Sign in to follow topics
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
Languages
chevron-right

Videos

A high-level, interpreted programming language and it is used for general purpose. Python is one of the most popular languages for data-intensive tasks and data science because of its rich library support for statistics, machine learning, and AI-related tasks.

All Python Videos
All Videos
search
  • Latestcheck
  • Highest Rated
Video

Semantic Search Made Easy With LangChain and MongoDB

"✅ Sign-up for a free cluster at → https://www.mongodb.com/cloud/atlas/register ✅ Get help on our Community Forums → https://www.mongodb.com/community/forums/ The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate The video is a tutorial on how to enable semantic search on user-specific data using Lang chain and MongoDB Atlas. The process involves loading, transforming, embedding, and storing data before it can be queried. The tutorial uses the AT&T Wikipedia page as a data source and demonstrates how to use libraries from Lang chain to load, transform, embed, and store vectors. The video also explains how to retrieve and query relevant data using Vector search. 📚 RESOURCES 📚 https://mdb.link/ZvwUzcMvKiI-tutorial" target="_blank" rel="noreferrer">https://mdb.link/ZvwUzcMvKiI-tutorial https://trymongodb.com/3H7kO3L https://mdb.link/ZvwUzcMvKiI https://mdb.link/ZvwUzcMvKiI-community https://twitter.com/codestackr https://mdb.link/subscribe" target="_blank" rel="noreferrer">https://mdb.link/subscribe ⏱️ Timestamps ⏱️ Introduction to Semantic Search [00:00:00 - 00:02:35] The video begins with an explanation of the multi-step process of enabling semantic search on user-specific data. This process includes loading, transforming, embedding, and storing data before it can be queried. The speaker mentions the team at Lang chain, whose goal is to simplify this process. The tutorial will walk through each of these steps using MongoDB Atlas as the vector store and the AT&T Wikipedia page as the data source. Setting Up the Environment [00:02:36 - 00:05:11] In this chapter, the speaker guides the viewer through the process of setting up the environment. This includes creating a free MongoDB Atlas account, obtaining an OpenAI API key, and cloning a repository with all the necessary code. The speaker also explains how to add the OpenAI API key and MongoDB connection string to the project, create a new Python environment, and install all the required dependencies. Vectorizing and Querying Data [00:05:12 - 00:07:47] The final chapter focuses on vectorizing and querying data. The speaker demonstrates how to load, transform, embed, and store data using the AT&T Wikipedia page as the data source. The process of creating vector representations of data using an LLM is explained, as well as how to store these vectors in a MongoDB database. The speaker then shows how to query this data using vector search, and how to set up a vector search index on the vector embeddings field. The video concludes with a demonstration of a CLI-based query and the results of a semantic search. ------ ✅ Subscribe to our channel → https://mdb.link/subscribe" target="_blank" rel="noreferrer">https://mdb.link/subscribe"
MongoDB thumbnail image
Play Button
Python

Jan 09, 2024
Video

Build an AWS Lambda Serverless function with PyMongo & MongoDB

✅ Sign-up for a free cluster at → https://mdb.link/free--ZSKyLspT3Q ✅ Get help on our Community Forums → https://mdb.link/community--ZSKyLspT3Q The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate Follow along as MongoDB Developer Advocate Anaiya Raisinghani explains how to use AWS Lambda with PyMongo, MongoDB's Python Driver! This tutorial will take you through setting up an Atlas Cluster, establishing an AWS Lambda function, connecting the cluster to Lambda, and loading in/reading back specific information. Watch through the end for information on utilizing MongoDB's Aggregation Pipeline structure. 🔗 Resources 🔗 ✅ For an article format of this video along with code samples, please view our Developer Center → https://mdb.link/article--ZSKyLspT3Q ✅ Connect with Anaiya → https://www.linkedin.com/in/anaiyaraisinghani/ ✅ View more of Anaiya's content → https://www.mongodb.com/developer/search/?s=anaiya+raisinghani&sortMode=0 ------ Don't forget to like, share, and subscribe for more awesome tutorials! 🙌 ✅ Subscribe to our channel → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Sep 25, 2023
Video

Learn About Full Text Search with Python

Check out this great overview of MongoDB's full text search solution, Atlas Search, with Python.
MongoDB thumbnail image
Play Button

May 06, 2022
Video

Introducing the FARM Stack - FastAPI, React, & MongoDB

Learn how to create highly performant, asynchronous, modern, web applications in Python with MongoDB. In this tutorial, we'll cover the complete FARM stack; create a FastAPI server, persist and fetch data asynchronously from MongoDB Atlas, and finally render it in the browser with React. Experience performance on-par or better than a MERN stack, but without switching all your development from Python to Node.js. Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ
MongoDB thumbnail image
Play Button

Jul 14, 2021
Video

MongoDB Atlas - Code To The Beat. Write in Different Languages Including Python, Go, & Rust

MongoDB Atlas supports more languages than any other fully managed database. Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ
MongoDB thumbnail image
Play Button

May 04, 2021