Spaces:
Sleeping
Sleeping
Commit History
-
Add encryption and decryption for sensitive message data
Integrated mechanisms to encrypt sensitive words in messages and decrypt them when retrieving. This ensures better data protection while handling sensitive user information in message flows.40749a1
-
Refine entity filtering and update prompt instructions.
Enhanced entity filtering logic to focus on specific fields (age, location, postalCode) when no possible matches are found. Updated prompts to include "location" in user descriptions to improve clarity and context.73f4a8a
-
Add functionality for handling empty responses in AI workflows
Enhanced AI response generation to handle cases where no suitable clinics are found by providing relevant suggestions. Updated database handling and utility functions to support tracking and managing changes in entity data, ensuring better user feedback.7cfbfed -
Optimize entity retrieval and limit final entity processing.
Replaced individual entity fetches with bulk retrieval to improve performance. Increased the number of filtered results but reduced output entities for better efficiency. Adjusted returned fields and introduced shortening in utility functions for streamlined processing.030cdaf
-
Optimize semantic entity filtering threshold
Lowered the score threshold for filtering entities from 0.75 tofc55356 -
Refactor empty_field usage in prompt replacements
Removed unnecessary `empty_field` parameters across multiple functions and replaced them with clearer instructions. Enhanced prompt templates and utils to improve consistency and readability for missing field messages.1003460 -
Refactor message handling to support optional fields.
Added support for handling missing or optional fields when generating prompts, responding to user inputs, and selecting treatment areas or methods. Updated utilities and enhanced prompt templates to improve flexibility and user interaction.4a1bb29 -
Refactor message handling and AI prompts for clarity.
Streamlined AI prompt generation by replacing list-based message history with a structured string representation. Simplified assistant-user message saving and updated related utility methods for better readability. Enhanced context in invalid and recommendation responses.198c726 -
Add feedback support to messages
Introduced a `Feedback` model and integrated it into `MessageModel` for storing user feedback. Added API endpoint for updating message feedback and implemented database logic to handle feedback updates. Updated corresponding imports and removed unused functions in the AI engine.f000a3c
-
Add entity handling to message saving and AI response logic
3a56394 -
fix
3e8fd5d -
fix
704300e
-
add location postal code searching
211d915
-
add top match
97743c1
-
added invalid request handling
28c36ca
-
added invalid request handling
2849c14 -
added highlights
e754e5a
-
update language
5768ce5
-
finish ai
3ec35ef -
finish backend
9150f8e