|
|
преди 3 месеца | |
|---|---|---|
| app | преди 3 месеца | |
| Dockerfile | преди 3 месеца | |
| README.md | преди 3 месеца | |
| requirements.txt | преди 3 месеца |
ultiliza Ollama e Mistral, requer recursos para a LLM local
git clone https://github.com/Galomortal47/LangChain.git
cd LangChain
docker build -t chat-api . && docker run -p 8000:8000 --env-file .env chat-api
curl -X POST http://localhost:8000/chat/?session_id=test_session -H "Content-Type: application/json" -d "{\"message\": \"Qual a capital da França?\"}"
ou
curl -X POST http://localhost:8000/ask/ -F "session_id=test_session" -F "question=What is the capital of France?" -F "file=@E:/test.txt"
ou
curl http://localhost:8000/health