docs: address week-1 onboarding feedback#91
Conversation
- API reference: Create Model (POST /model) response now shows train_mode
as const "fast" (TTS-only); GET /model/{id} and the shared model schema
default to "fast" while still allowing "full" for non-TTS models. Fixes
the stale "full" example in the clone/create model reference.
- Emotion Control: document the [emphasis] tone marker (previously only in
the changelog and models overview), with usage example.
- Emotion Control: move Tone Markers, Audio Effects and Special Effects out
from under "Complete Emotion Reference" into a new "Sound & Delivery
Markers" section, since these are not emotions.
- Real-time streaming + TTS: clarify latency defaults. The raw HTTP/WebSocket
API defaults to "normal" (quality-tuned, high time-to-first-audio) while
the Python SDK defaults to "balanced"; add a warning and a per-surface
support matrix so real-time users (e.g. via LiveKit) set balanced/low.
Note: openapi.json is regenerated from platform-api; the durable train_mode
fix also needs platform-api apps/models/schemas.py updated (follow-up).
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Summary
Addresses the documentation items from Cale's week-1 onboarding product/docs feedback.
Opened as a draft for review before merge.
Changes
train_modeAPI reference — the Create Model reference advertisedtrain_mode: "full"in the response example, but TTS model creation only supports"fast".POST /model(TTS-only) response is nowconst: "fast";GET /model/{id}and the shared model schema default to"fast"while still allowing"full"for non-TTS models.[emphasis]documented — previously only mentioned in the changelog and models overview. Added as a Tone Marker with a usage example on the Emotion Control page.latencytonormal(the Python SDK defaults tobalanced). Added a warning and a per-surface support matrix so real-time users (e.g. via the LiveKit plugin) know to setbalanced/low.Follow-ups (not in this PR)
train_modefix:openapi.jsonis regenerated from platform-api viascripts/update-openapi.mjs. The response model inplatform-api/apps/models/schemas.py(train_mode: Literal["fast","full"] = "full") is the true source — without updating it, the next regen reverts the spec edit here.emotions.mdxadvises "Add appropriate text after sound effects (e.g., 'Ha ha' after laughing)" — likely leftover S1 guidance. Left unchanged pending confirmation of actual S2 behavior.Validation
openapi.jsonvalidated as well-formed JSON.mint/prettiernot run locally (not installed); please confirm the docs build in CI / preview.