Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatbot_fastapi_langgraph

Chatbot using fastapi and langgraph

Setup

  1. Install dependencies
pip install -r requirements.txt
  1. Set up environment variables
cp example.env .env

paste your api keys in the .env file

  1. Run the application
uvicorn main:app --reload
  1. Access the application
http://localhost:8000
  1. Chat with the chatbot
curl -X POST "http://127.0.0.1:8000/chat" \
     -H "Content-Type: application/json" \
     -d '{
           "messages": ["Hello, how are you?"],
           "thread_id": "example_thread"
         }'

About

Chatbot using fastapi and langgraph

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages