|
1 | 1 | # Step-by-Step Guide: Building a Local Chatbot with Streamlit, LangChain, Ollama, and MongoDB Atlas |
2 | 2 |
|
3 | | -In this tutorial, we'll set up a local chatbot using **Streamlit**, **LangChain**, **Ollama**, and **MongoDB Atlas Search**. This bot will leverage MongoDB's powerful Atlas Search capabilities alongside local LLMs (Large Language Models) via Ollama, allowing you to enhance user queries with context from chat history. |
| 3 | +In this tutorial, we'll set up a local chatbot using **Streamlit**, **LangChain**, **Ollama**, and **MongoDB Search**. This bot will leverage MongoDB's powerful MongoDB Search capabilities alongside local LLMs (Large Language Models) via Ollama, allowing you to enhance user queries with context from chat history. |
4 | 4 |
|
5 | 5 | ## Prerequisites |
6 | 6 | Before starting, make sure you have the following installed: |
@@ -40,7 +40,7 @@ Here’s a quick rundown of the tools we’re using in this project: |
40 | 40 | * *[Streamlit](https://streamlit.io)*: A Python library for easily creating data-based web applications. We'll use it to create a local chatbot interface. |
41 | 41 | * *[LangChain](https://langchain.com)*: A framework that simplifies working with LLMs and document processing. It will assist processing user queries and generate responses. |
42 | 42 | * *[Ollama](https://ollama.com)*: A solution for deploying LLMs locally without external API dependency. It to host our models. |
43 | | -* *[MongoDB Atlas Search](https://www.mongodb.com/products/platform/atlas-search)*: Adds a powerful, flexible vector search functionality to our app. It will store user queries and responses in MongoDB. |
| 43 | +* *[MongoDB Search](https://www.mongodb.com/products/platform/atlas-search)*: Adds a powerful, flexible vector search functionality to our app. It will store user queries and responses in MongoDB. |
44 | 44 |
|
45 | 45 | ### Setting Up `requirements.txt` |
46 | 46 |
|
@@ -268,7 +268,7 @@ At this point, you can start prompting with inputs like “Who started AT&T?” |
268 | 268 |
|
269 | 269 | ## Conclusion and Next Steps |
270 | 270 |
|
271 | | -In this tutorial, we built a local chatbot setup using MongoDB Atlas Search and local LLMs via Ollama, integrated through Streamlit. This project forms a robust foundation for further development and deployment. |
| 271 | +In this tutorial, we built a local chatbot setup using MongoDB Search and local LLMs via Ollama, integrated through Streamlit. This project forms a robust foundation for further development and deployment. |
272 | 272 |
|
273 | 273 | Possible Extensions: |
274 | 274 |
|
|
0 commit comments