Skip to content

A conversational AI assistant powered by LLaMA 3 (via Groq) using LangGraph for stateful conversation flow and LangChain for message management and memory. Includes graceful session handling, structured node-based logic, and support for dynamic chat history via conversation memory.

Notifications You must be signed in to change notification settings

AsadUllah428/Chatbot-LangGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 LLaMA3 Chatbot with LangGraph

A conversational AI assistant built using LangGraph, LangChain, and the blazing-fast Groq API. This project uses LLaMA3 (70B) to create a responsive, memory-enabled chatbot that runs in a loop and gracefully exits on command.


πŸš€ Features

  • βœ… Stateful, node-based conversation flow using LangGraph
  • πŸ’¬ Supports memory with ConversationBufferWindowMemory
  • βš™οΈ Runs with LLaMA 3 via Groq API
  • πŸ‘‹ Graceful exit on Ctrl+C or by typing exit or quit
  • πŸ“œ Clean, modular Python code with type annotations

πŸ”§ Configuration :

  • os.environ["GROQ_API_KEY"] = "your-groq-api-key-here"
  • model_name="your-desired-model-name"

πŸ™‹β€β™‚οΈ Contributing:

Contributions are welcome! Feel free to fork, create issues, or submit pull requests with improvements.

πŸ“¦ Installation

  1. Clone the repo

    git clone https://github.com/yourusername/llama3-chatbot-graph.git
    cd llama3-chatbot-graph
    

About

A conversational AI assistant powered by LLaMA 3 (via Groq) using LangGraph for stateful conversation flow and LangChain for message management and memory. Includes graceful session handling, structured node-based logic, and support for dynamic chat history via conversation memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors