-
Notifications
You must be signed in to change notification settings - Fork 52
Update AICFilter documentation for aic-sdk v2 #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Andres O. Vela <andresovela@users.noreply.github.com>
Co-authored-by: Andres O. Vela <andresovela@users.noreply.github.com>
Co-authored-by: Andres O. Vela <andresovela@users.noreply.github.com>
markbackman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll defer on accuracy to the team. Approving and will merge once we ship the 0.0.101 release.
Co-authored-by: Andres O. Vela <andresovela@users.noreply.github.com>
| 1. Update Pipecat to the latest version (aic-sdk v2.x is included automatically) | ||
| 2. Remove deprecated constructor parameters (`model_type`, `enhancement_level`, `voice_gain`, `noise_gate_enable`) | ||
| 3. Add `model_id` parameter with an appropriate model (e.g., `"quail-vf-l-16khz"`) | ||
| 4. Replace `SileroVADAnalyzer` with `aic_filter.create_vad_analyzer()` for improved accuracy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary for our migration guide?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talking about SileroVAD I mean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rephrased the item without using any other analyzer class name: 068de21
Co-authored-by: Andres O. Vela <andresovela@users.noreply.github.com>
| 1. Update Pipecat to the latest version (aic-sdk v2.x is included automatically). | ||
| 2. Remove deprecated constructor parameters (`model_type`, `enhancement_level`, `voice_gain`, `noise_gate_enable`). | ||
| 3. Add `model_id` parameter with an appropriate model (e.g., `"quail-vf-l-16khz"`). | ||
| 4. Use `aic_filter.create_vad_analyzer()` for improved accuracy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not sure if this is relevant for a migration guide. Maybe someone else can give their opinion too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like a recommendation would be better instead of sounding like it's breaking something. Something like:
"We recommend to use aic_filter.create_vad_analyzer() for improved accuracy"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This migration guide is not about the aic-sdk-py directly indeed. In the current doc version we have a reference about defining vad_analyzer parameter and I try to instruct the developers using our method directly. But still I am open to remove it completely.
how about this -> ddd4bf5
If no, I'm also okay to remove.
blocked by: pipecat-ai/pipecat#3408
Summary
• Updates AICFilter documentation to reflect aic-sdk v2 API changes
• Replaces deprecated parameters (model_type, enhancement_level, voice_gain, noise_gate_enable) with new v2 parameters (model_id, model_path,
model_download_dir)
• Adds documentation for integrated VAD analyzer (create_vad_analyzer, get_vad_context) with configurable sensitivity parameters
• Includes an available models reference table and multiple usage examples (basic, local model, custom cache, other transports)
Test plan
• [ ] Verify all links are valid (ai-coustics.com, artifacts.ai-coustics.io, migration guide)
• [ ] Confirm code examples are syntactically correct
• [ ] Review model IDs match those available at artifacts.ai-coustics.io