Spaces:
Sleeping
Sleeping
Commit History
-
update
bc51ebd
-
Add user registration endpoint and role support
Introduced a new `/register` endpoint to handle user registration, allowing email, password, and role input. Added a `role` field to `AccountModel` and implemented database logic to ensure unique email constraints during registration.faa9d54
-
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
-
Add dynamic handling for changed fields in prompts
Introduced the `field_changed` variable to dynamically reflect which fields require updates when generating messages and prompts. Adjusted the prompt template to incorporate `{field_changed}`, improving clarity in user guidance when no clinics are found.7373a4a -
Add dynamic handling for changed fields in prompts
Introduced the `field_changed` variable to dynamically reflect which fields require updates when generating messages and prompts. Adjusted the prompt template to incorporate `{field_changed}`, improving clarity in user guidance when no clinics are found.b2a0883 -
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
-
Handle empty responses in AI recommendation generation
Refined prompt logic to address scenarios with no clinic data by removing redundant conditions and ensuring appropriate responses are generated. This improves clarity and consistency in AI feedback for edge cases.23a66cb -
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
-
fix prompts
ab1d209
-
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 -
"Refine Dutch prompt phrasing for clarity and empathy
Adjusted the wording in Dutch prompts to enhance clarity, maintain an empathetic tone, and improve user guidance. Minor fixes include improved flow and corrections in terminology."42ec0ea -
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
-
fix
72712a9
-
add location postal code searching
211d915
-
add account CRUD
aabf8ec
-
add facility
b1eced0
-
add top match
97743c1
-
add auth
8e611c3
-
add auth
c6cc0f2
-
update prompts
b695fbe -
update prompts
d9bccb2
-
update prompts
2f1af0f -
fix age ranges
82c856f
-
fix empty search
3342483
-
added invalid request handling
28c36ca
-
added invalid request handling
2849c14 -
added highlights
e754e5a
-
update language
52bd2ca -
update language
5768ce5
-
finish ai
3ec35ef -
finish backend
9150f8e
-
init
50553ea