eliza icon indicating copy to clipboard operation
eliza copied to clipboard

feat: (voice) enhance character card voice configuration support

Open augchan42 opened this issue 1 year ago • 5 comments

feat(voice): enhance character card voice configuration support

  • Add comprehensive ElevenLabs configuration in character cards
  • Make ElevenLabs settings optional with sensible defaults
  • Implement configuration priority (character card > env vars > defaults)
  • Update schema validation to support optional fields
  • Add debug logging for voice selection process
  • Maintain backward compatibility with existing setups

Example character card config:

{
    "settings": {
        "voice": {
            "model": "en_GB-alan-medium",
            "elevenlabs": {
                "voiceId": "your-voice-id",
                "model": "eleven_monolingual_v1",
                "stability": "0.5"
            }
        }
    }
}

Closes https://github.com/ai16z/eliza/issues/694

augchan42 avatar Nov 30 '24 03:11 augchan42

BTW this PR also fixes the web-agent/vite build issues

augchan42 avatar Nov 30 '24 04:11 augchan42

BTW this PR also fixes the web-agent/vite build issues

This is already fixed on recent main.

shakkernerd avatar Nov 30 '24 07:11 shakkernerd

Can you start by resolving the conflicts and why are there so many changed files? It says 141 files right now.

shakkernerd avatar Nov 30 '24 07:11 shakkernerd

The changed files are autogenearated docs from the build process. I'll take a look

On Sat, Nov 30, 2024 at 3:11 PM Shakker Nerd @.***> wrote:

Can you start by resolving the conflicts and why are there so many changed files? It says 141 files right now.

— Reply to this email directly, view it on GitHub https://github.com/ai16z/eliza/pull/698#issuecomment-2508866429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE32LKN2RGJTZQRWHPCTD3L2DFQILAVCNFSM6AAAAABSYBSAV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBYHA3DMNBSHE . You are receiving this because you authored the thread.Message ID: @.***>

augchan42 avatar Nov 30 '24 09:11 augchan42

From 141 files to 8, I re-ran the build and it works after removing the web-agent folder (had to fix target in package.json)

augchan42 avatar Nov 30 '24 09:11 augchan42