Skip to content

button for changing elevenlabs bot to english#20

Merged
wiktorKycia merged 23 commits intodatarabbit-ai:mainfrom
Rumeleq:english-agent
Aug 4, 2025
Merged

button for changing elevenlabs bot to english#20
wiktorKycia merged 23 commits intodatarabbit-ai:mainfrom
Rumeleq:english-agent

Conversation

@wiktorKycia
Copy link
Collaborator

Key changes

  • added the possibility to call patient using english bot
Info
  • there already was a dropdown menu for changing elevenlabs bot in the settings menu

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@wiktorKycia wiktorKycia merged commit 745351d into datarabbit-ai:main Aug 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments