//Dependencias //pip install fastapi uvicorn sentence-transformers faiss-cpu //iniciar proyecto //uvicorn chat_semantic_fenix_score:app --reload //Peticiones con curl //curl -X POST http://127.0.0.1:8000/chat \ -H "Content-Type: application/json" \ -d '{"user_input": "¿Cuál es el horario de atención?", "threshold": 0.65}' curl -X POST http://127.0.0.1:8000/chat \ -H "Content-Type: application/json" \ -d '{"user_input": "Qué servicios tienenen el cedetec", "threshold": 0.65}' curl -X POST http://127.0.0.1:8000/chat \ -H "Content-Type: application/json" \ -d '{"user_input": "dime los servicios tienenen el cedetec", "threshold": 0.65}' //docker dockebuild -t bot-api . //inicializar servidor en docker docker run -p 8000:8000 bot-api