Building a RAG System with Azure OpenAI, Hugging Face, and MongoDB Atlas

Thai Intermediate AI & Machine Learning

Building a Retrieval-Augmented Generation (RAG) system with Azure OpenAI, Hugging Face, and MongoDB involves creating an advanced AI model that enhances natural language processing tasks by integrating external knowledge sources. This system leverages Azure OpenAI for its powerful language models, Hugging Face for an extensive library of pre-trained models and NLP tools, and MongoDB Atlas for storing and managing the large datasets used as the knowledge base. The RAG approach combines the strengths of generative models (like those from OpenAI) with the ability to query and retrieve relevant information from a database (stored in MongoDB) during the generation process, leading to more informed and contextually accurate outputs. This setup is handy for applications requiring deep understanding and generation of human-like text, such as chatbots, search engines, and content creation tools.


Piti Champeethong

Senior Consulting Engineer at MongoDB

I am a Senior Consulting Engineer who loves sharing MongoDB and Microsoft technologies like Azure. I am a community speaker at the Thailand MongoDB User Group and .Net Thailand community.

Code of Conduct

We seek to provide a respectful, friendly, professional experience for everyone, regardless of gender, sexual orientation, physical appearance, disability, age, race or religion. We do not tolerate any behavior that is harassing or degrading to any individual, in any form. The Code of Conduct will be enforced.

Who does this Code of Conduct apply to?

All live stream organizers using the Global Azure brand and Global Azure speakers are responsible for knowing and abiding by these standards. Each speaker who wishes to submit through our Call for Presentations needs to read and accept the Code of Conduct. We encourage every organizer and attendee to assist in creating a welcoming and safe environment. Live stream organizers are required to inform and enforce the Code of Conduct if they accept community content to their stream.

Where can I get help?

If you are being harassed, notice that someone else is being harassed, or have any other concerns, report it. Please report any concerns, suspicious or disruptive activity or behavior directly to any of the live stream organizers, or directly to the Global Azure admins at All reports to the Global admin team will remain confidential.

Code of Conduct for local live streams

We expect local organizers to set up and enforce a Code of Conduct for all Global Azure live stream.

A good template can be found at, including internationalized versions at An excellent version of a Code of Conduct, not a template, is built by the DDD Europe conference at