Skip to content

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
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
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