Skip to content

"MGPT-Langchain-ChatBot-Multi-Functionality-Ollama" is a versatile chatbot framework that uses LangChain to build a context-aware chatbot in Python. This project integrates with Ollama, enabling multi-functionality and natural language processing capabilities.

Notifications You must be signed in to change notification settings

mahmutyvz/MGPT-Langchain-ChatBot-Multi-Functionality-Ollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain Streamlit with Ollama

Project Scructure

MGPT-Langchain-ChatBot-Multi-Functionality-Ollama/
├─ src/
├─ .gitignore
├─ requirements.txt
├─ README.md

The root variable in paths.py must be changed to the absolute path of the project.

Install the required dependencies.

Python 3.10.11 or higher is required.
Ollama must be installed on your machine for optimal functionality. Link : https://ollama.com/download
pip install -r requirements.txt

MGPT Features

Here are various ways to utilize the chatbot developed with LangChain and Streamlit:

  • Memory-Enabled Chatbot
    A chatbot that retains the context of previous interactions to deliver more relevant responses.

  • Web-Connected Chatbot
    A chatbot equipped to browse the web and provide answers to queries about the latest news and events.

  • Document-Based Chatbot
    Enable the chatbot to read and interpret user-provided documents, allowing it to answer questions based on specific content.

  • SQL Database Chatbot
    Interact with SQL databases using conversational language, enabling users to easily create and execute queries.

  • Website Interaction Chatbot
    Empower the chatbot to access and retrieve information from a given website URL to answer questions based on its content.

Running the Application

You can directly run the application, make training and predictions.

streamlit run app.py

Tool Preview 1 Tool Preview 2 Tool Preview 3 Tool Preview 4 Tool Preview 5 Tool Preview 6 Tool Preview 7

About

"MGPT-Langchain-ChatBot-Multi-Functionality-Ollama" is a versatile chatbot framework that uses LangChain to build a context-aware chatbot in Python. This project integrates with Ollama, enabling multi-functionality and natural language processing capabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages