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

[ModelFactory] Implemented Audio, Embedding, and Image factories #139

Merged
merged 5 commits into from
Aug 9, 2024

Conversation

kinelski
Copy link
Contributor

@kinelski kinelski commented Jul 24, 2024

Adding Model Factories for Audio, Embedding, and Image models. These factories can be used to instantiate models for mocking.

At the moment there's no way to have the factories generated automatically since they are split across multiple namespaces.

I tried to keep them as close to generated code as possible. In case we manage to have the code generator generating them automatically for us, it would be ideal if we could keep changes to a minimum when migrating from manually-written to generated code.

@kinelski kinelski marked this pull request as ready for review July 25, 2024 00:06

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
kinelski added a commit to kinelski/openai-dotnet that referenced this pull request Aug 9, 2024
@joseharriaga joseharriaga merged commit 3284295 into openai:main Aug 9, 2024
1 check passed
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.

None yet

2 participants