betalgo/openai ? reverse-engineered prompt
Reverse engineered prompt
Build me a .NET library for working with OpenAI’s API, with a clean easy to use service that I can plug into any C# app. I want it to support the main things people use, like chat completions, images, embeddings, speech to text, text to speech, fine tuning, files, assistants, and realtime features if possible. Make it simple to use with either direct setup or dependency injection, and include a small playground app so I can test requests quickly from the solution.
Please also add a utilities package for helper features, plus a contracts layer for the request and response models. Use sensible default models, expose usage and response details clearly, and make the sample code easy to follow. If you need to check current OpenAI docs or API behavior, go ahead and look them up online. I’d also like basic tests for the utilities and enough documentation in the README so someone can get started without much trouble.
Are you gonna build this?
make sure you review the code using coderabbit