Skip to content

Conversation

@rohitprasad15
Copy link
Collaborator

For ensuring easy portability across multiple ASR providers, allow parameters to be passed through.
New model gives a choice to developers to get warnings or exception for scenarios where parameters don't apply to a provider.
Added Unit tests for the same.

Summary of test cases
Core parameter pass-through functionality is fully tested and validated
through unit tests and client integration tests.
test_asr_params.py - ParamValidator logic, mappings, transformations.
test_client.py - Client-level validation, all modes, parameter flow
test_asr_parameter_passthrough.py - OpenAI & Google.
Deepgram mock test will need more work due to dynamic imports used
in the SDK, hence not included in this commit.
@rohitprasad15 rohitprasad15 force-pushed the rp15/asr-passthrough-api branch from 75f21a1 to c882393 Compare October 14, 2025 20:04
@rohitprasad15 rohitprasad15 force-pushed the rp15/asr-passthrough-api branch from 903b9c8 to 38962ff Compare October 14, 2025 20:31
@rohitprasad15 rohitprasad15 merged commit 24e9846 into main Oct 14, 2025
8 checks passed
@rohitprasad15 rohitprasad15 deleted the rp15/asr-passthrough-api branch October 14, 2025 20:37
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