backend / agent_direct_run.log
m-ahmad-official's picture
add something
2304e6f
/mnt/e/7. Low Code Agentic AI/Hackathon I/humanoid-ai-robotics-book-chatbot/backend/agent.py:63: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
@validator('question')
/mnt/e/7. Low Code Agentic AI/Hackathon I/humanoid-ai-robotics-book-chatbot/backend/agent.py:291: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
INFO: Started server process [13533]
INFO: Waiting for application startup.
05:10:47 - INFO - root - ============================================================
05:10:47 - INFO - root - RAG Agent FastAPI Server Starting
05:10:47 - INFO - root - ============================================================
05:10:49 - INFO - httpx - HTTP Request: GET https://d27e55fe-c28d-4275-81d7-7eff807c14a5.europe-west3-0.gcp.cloud.qdrant.io:6333 "HTTP/1.1 200 OK"
05:10:49 - INFO - backend.retrieve - Embedding query: 'test...' (top_k=1)
05:10:49 - INFO - httpx - HTTP Request: POST https://api.cohere.com/v2/embed "HTTP/1.1 200 OK"
05:10:50 - INFO - httpx - HTTP Request: POST https://d27e55fe-c28d-4275-81d7-7eff807c14a5.europe-west3-0.gcp.cloud.qdrant.io:6333/collections/book_embeddings/points/query "HTTP/1.1 200 OK"
05:10:50 - INFO - backend.retrieve - Search completed in 0.62s, returned 1 results
05:10:50 - INFO - backend.retrieve - Total query time: 1.05s
05:10:50 - INFO - root - Retrieval test OK: 1 results
05:10:50 - INFO - root - Server startup complete
INFO: Application startup complete.
ERROR: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.