Skip to content
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

Separate Options from Responses, Favor Using Option Classes #199

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Separate Options from Responses, Favor Using Option Classes #199

merged 1 commit into from
Dec 7, 2023

Conversation

davidvonthenen
Copy link
Contributor

@davidvonthenen davidvonthenen commented Dec 7, 2023

This removes the last of the TypedDict in favor of the data class implementation. This is a continuation of the work that was done in these PRs:
#194
#186

This PR finishes off that work and addresses all input/Option parameters for input to functions.

The favored method for input parameters to functions is use the Option classes (like LiveOptions or PrerecordedOptions versus freeform JSON or TypedDict.

@davidvonthenen davidvonthenen changed the title Separate Options from Responses Separate Options from Responses, Favor Using Option Classes Dec 7, 2023
@davidvonthenen davidvonthenen merged commit 3fbf383 into deepgram:main Dec 7, 2023
1 check passed
@davidvonthenen davidvonthenen deleted the sync-prerecorded-function branch December 7, 2023 18:59
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