Spaces:
Sleeping
Sleeping
Commit History
-
Enhance medical query handling by adding optional guideline parameter to API requests. Updated QueryRequest model to include 'guideline' field, allowing users to specify guideline providers (IASLC, NCCN, ASCO, ESMO, NICE) for tailored responses. Adjusted related functions to accommodate this new parameter. Updated documentation and examples accordingly.
670a96e
-
updated the Lung Cancer PDF Loader for a better understanding of tables and context and added the new NCCN and IASLC Guidelines.
the agent now reflect the true file name without the text “.PDF”bfb7a15
-
Merge branch 'main' of https://huggingface.co/spaces/moazx/API
57a4efd -
Refactor project for Lung Cancer AI Advisor: update app and API descriptions, modify .gitignore to exclude Jupyter notebooks, and remove outdated deployment documentation. Delete unused files and enhance logging for better traceability.
0176a31
-
Update api/middleware.py
Verified signatureb26fe61 -
Update api/routers/auth.py
Verified signature898dfc1 -
Update api/routers/auth.py
Verified signatureef242c8 -
Update api/routers/auth.py
Verified signature0f62f58 -
Merge branch 'main' of https://huggingface.co/spaces/moazx/API
2c7b0ce -
Update .env.example with OpenAI and LangSmith configuration, modify app.py to dynamically set the port for deployment, enhance CORS middleware to support additional local development origins, and improve document retrieval settings for more comprehensive context in responses.
0a5dcf9
-
Update api/routers/auth.py
d4d55d1 -
Update authentication credentials in .env.example and modify password verification in auth.py to enhance security. The default password has been changed to 'volaris123' for improved security practices.
2c024e6 -
Update .gitignore to include frontend and Lung Cancer Guidelines directories. Enhance CORS middleware configuration to allow origins from environment variables, with defaults for local development. Modify session cookie settings to require secure flag for SameSite=None, improving security for cross-site requests.
0f194af -
Enhance API security and functionality by adding authentication middleware and session management. Updated app.py to include the new auth router and integrated authentication checks for protected endpoints. Modified requirements.txt to include necessary libraries for session handling. Updated .env.example to include authentication credentials. Improved retrieval functions with query expansion for better medical term matching and enriched context in responses.
ddc9c77
-
Add export router to app.py and update requirements.txt for document generation libraries
7a527fe
-
Add session management endpoints to health and medical routers. Implemented functionality to retrieve active sessions, clear specific sessions, and clear all sessions. Updated ask and ask_stream endpoints to support optional session IDs for improved conversation continuity.
20953d6
-
Add application files
a79df1f -
add main.py and vercel.json
ddf4fef -
Initial commit
2a8faae