Skip to content

solnone/LangChain-LangGraph-Ollama-MQTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Device Control with LangChain, LangGraph, LangServe, and Ollama using MQTT

This repository provides tools to control and query the state of devices (lights and doors) in a room using MQTT. These tools are integrated with LangChain, LangGraph, LangServe, and Ollama to facilitate more complex workflows, natural language processing, and distributed task management.

Installation

Ensure that you have the necessary dependencies to run this system.

pip install -qU langgraph langchain-community langchain_ollama "langserve[server]" paho-mqtt

Make sure you have an MQTT broker set up and connected to the devices you want to control or query.

Start the Server

You can start the server by running the following command:

python app.py

License

This project is licensed under the MIT License.

References

This project was inspired and built upon the following resources:

About

LLM Device Control with LangChain, LangGraph, LangServe, and Ollama using MQTT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published