button for changing elevenlabs bot to english#20
Merged
wiktorKycia merged 23 commits intodatarabbit-ai:mainfrom Aug 4, 2025
Merged
button for changing elevenlabs bot to english#20wiktorKycia merged 23 commits intodatarabbit-ai:mainfrom
wiktorKycia merged 23 commits intodatarabbit-ai:mainfrom
Conversation
…data more realistic
Database operations optimization
…cal procedures generation and fix some bugs
Doctors and departments upgrade
There was a problem hiding this comment.
Pull Request Overview
This PR adds the ability to call patients using an English-speaking ElevenLabs voice bot, expanding beyond the existing Polish and Ukrainian options. The changes include updating the agent selection logic, adding new translations, and restructuring the codebase to support department-based hospital operations with personnel management.
- Adds English language support for ElevenLabs voice agent calls
- Expands from doctor-only to comprehensive personnel management (doctors and nurses)
- Restructures the system from procedure-based to department-based organization
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/main.py | Adds "en" to voice languages, updates agent calling logic from boolean to string parameter, implements department-based bed management |
| frontend/locales/pl/LC_MESSAGES/base.po | Replaces "Doctor" with "Personnel" translation and adds extensive medical procedure/department translations |
| frontend/locales/en/LC_MESSAGES/base.po | Removes old medical procedure translations (likely moved elsewhere) |
| frontend/agent.py | Updates agent selection from boolean to string-based language parameter, adds English agent support |
| frontend/.env.sample | Adds AGENT_EN_ID environment variable for English agent configuration |
| faker/seed_data.py | Complete restructuring from doctor-based to department/personnel-based data generation |
| faker/models.py | Major database schema changes replacing doctors with personnel members and adding department structure |
| faker/database_structure_manager.py | Updates database structure checks for new personnel/department model |
| faker/data_generator.py | Updates data generation from doctors to personnel members with roles |
| backend/models.py | Mirror of faker model changes for backend consistency |
| backend/main.py | Updates backend logic to handle department-based operations and personnel assignments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key changes
Info