Spaces:
Sleeping
Sleeping
Commit History
-
Implement cookie-less session management and user ID handling for Hugging Face Spaces compatibility
- Introduced cookie-less session management by storing user IDs in localStorage and transmitting them via HTTP headers and URL parameters. - Updated FastAPI endpoints to retrieve user IDs from headers and query parameters, ensuring backward compatibility with cookie-based implementations. - Enhanced the RAG pipeline to accept user IDs for tracking in Hugging Face deployments. - Modified frontend to include user ID in all API requests using an axios interceptor, improving session management across the application. - Updated documentation to reflect changes in session management and user ID handling.8190e40
-
Refactor user session management and prompt handling in FastAPI and frontend
- Improved user session management by optimizing cookie handling for user IDs and prompt templates. - Refined FastAPI endpoints for better performance in retrieving, updating, and resetting user-specific prompts. - Enhanced frontend logic to streamline user identification and prompt editing features. - Updated Chat and DocumentSummary components to ensure efficient API requests with user ID integration. - Further improved user experience by simplifying prompt management processes.73641c0