* feat(ai): implementmulti-speaker speech config; includes tests * add changeset, fix typo * fix: yarn format * fix changeset * fix changeset typo * remove unnecessary tests; fix interface description to match proposal * Generate documentation * fix: yarn format & lint fix * add more descriptive changeset * Adds tests for speech config to check if its correctly passed through to the API requests for both generateContent and generateContentStream methods * yarn format * yarn format * Refine changeset file description * Fix typo * format fix * update description BaseSpeechConfig * update descriptions * format doc * yarn format * fix @ typo over MultiSpeakerSpeechConfig * fix: adjusted description wording for the interfaces; fix: public tags to beta * fix: formatting using @remarks * fix: typo * yarn format * run yarn docgen:all * update SpeechConfig to beta * update speech config to beta * upd SingleSpeakerSpeechConfig description * doc generation
1.3 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
PrebuiltVoiceConfig interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Configuration for a pre-built voice.
Signature:
export interface PrebuiltVoiceConfig
Properties
| Property | Type | Description |
|---|---|---|
| voiceName | string | (Public Preview) The voice name to use for speech synthesis. |
PrebuiltVoiceConfig.voiceName
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The voice name to use for speech synthesis.
For a full list of names and demos of what each voice sounds like, see Chirp 3: HD Voices.
Signature:
voiceName?: string;