Açıklama Yok

galo 6294c3425e added session id 11 ay önce
app 6294c3425e added session id 11 ay önce
Dockerfile 6294c3425e added session id 11 ay önce
README.md 6294c3425e added session id 11 ay önce
requirements.txt c05efb5c7b first 11 ay önce

README.md

Docker de chat usando LangChain e FastAPI

ultiliza Ollama e Mistral, requer recursos para a LLM local

Prerequisites

  • Git
  • Docker

Setup and Installation

  1. git clone https://github.com/Galomortal47/LangChain.git
    
  2. cd LangChain
    
  3. docker build -t chat-api . && docker run -p 8000:8000 --env-file .env chat-api
    
  4. curl -X POST http://localhost:8000/chat/?session_id=test_session -H "Content-Type: application/json" -d "{\"message\": \"Qual a capital da França?\"}"