CoolFace
Apppublic

DataEyond/Demo-Agentic-Service-Data-Eyond

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
README.md77 linesDownload Raw Back to root
1---2title: Demo Agentic Service Data Eyond3emoji: ๐Ÿ†4colorFrom: yellow5colorTo: pink6sdk: docker7pinned: true8---9 10Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference11 12 13How to run:14`uv run --no-sync uvicorn main:app --host 0.0.0.0 --port 7860`15 16 17Agent18Orchestrator : intent recognition, orchestrate, and plannings19Chatbot : have tools (retriever, and search), called by orchestrator20 21 22APIs                        23/api/v1/login -> login by email and password24 25/api/v1/documents/{user_id} -> list all documents26/api/v1/document/upload -> upload document27/api/v1/document/delete -> delete document28/api/v1/document/process -> extract document and ingest to vector index29 30/api/v1/chat/stream -> talk with agent chatbot, in streaming response31/api/v1/rooms/{user_id} -> list all room based on user id32/api/v1/room/{room_id} -> get room based on room id33 34 35Config36- Agent: system prompt, guardrails37- others config needed38 39DB40- using postgres as db41- we can use pg vector from this db also42- use redis for caching response, same question will not re-processed for 24 hour43 44Document45- service to manage document, upload, delete, log to db46 47Knowledge48- service to process document into vector, until ingestion to pg vector49 50Middleware51CORS:52- allow all53Rate limiting:54- upload document: 10 document per menit55Logging:56- create clear and strutured logging for better debuging57 58Models59- Data models60 61Observability62- Langfuse traceability63 64RAG65- retriever service to get relevant context from pg vector66 67storage68- storage functionality to communicate with storage provider69 70tools71- tools that can be use by agent72 73Users74- Users management, to get user indentity based on login information.75 76Utils77- Other functionality