mscraftsman / generative-ai

Gemini AI SDK for .NET and ASP.NET Core enables developers to use Google's state-of-the-art generative AI models to build AI-powered features and applications.
https://mscraftsman.github.io/generative-ai/
Apache License 2.0
55 stars 11 forks source link

Provide overload of UploadMedia to accept Stream #38

Closed jochenkirstaetter closed 1 month ago

jochenkirstaetter commented 1 month ago

Referring to the suggestion made in #35 the library should provide an overloaded method UploadMedia to accept a stream not just a file name.

jochenkirstaetter commented 1 month ago

Implemented and released: https://github.com/mscraftsman/generative-ai/releases/tag/v1.6.5