Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Conversation

@Swimburger
Copy link
Contributor

@Swimburger Swimburger commented Sep 3, 2024

The mapping of optional transcript params to transcript params was manual and not maintainable.
This PR converts the optional params to JSON, sets the audio_url, and then deserializes it to transcript params.
This is not the most performant solution, as handwriting would be, and using a mapper would be second fastest at the cost of an additional dependency.
But this is a better solution for now as we won't accidentally not copy new parameters if we don't maintain the manual mapping code.

@Swimburger Swimburger merged commit 827dd0f into main Sep 11, 2024
@Swimburger Swimburger deleted the niels/map-transcript-params-using-json branch September 11, 2024 21:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants