An (unofficial) C# library has been shipped! 🚢

Introducing Gemini#!

While I may not be answering questions on here as often as I’d like, that doesn’t mean I’m not doing fun stuff for the community!

Took this little detour from the competition to turn this tool I made for myself into a public library for everyone. No more REST APIs! No more building your own classes from scratch! And more importantly, no more serialization hell!

This is also my first public library too. It’s not that I intended for that to happen; I’m just so used to building tools locally half the time I don’t even think about pushing it to a public repo. Not this time though! :wink:

It ain’t super l33tc0de, but it gets the job done and it works as far as I’ve been able to test it.

I am treating this as a community repo unless Google wants to do something else with it, so by all means, if you want to contribute and make it better go for it. Currently, it supports Gemini 1.5 Pro, 1.5 Flash, and Text-Embedding-004. It’s text only for now; no multi-modal input, and no streaming yet. That being said, it’s on the To-Do list, which I can take care of after the Gemini API competition. It’s just not a priority atm because those features are rather niche inside an engine like Unity.

Now if you’ll excuse me, I’m going to sleep like a Snorlax after staying up all night to finish this lol. Enjoy.

3 Likes

I’m working on a project using Unreal, so I know the struggle.
This makes me smile from ear to ear.
It’s going to help a lot of folks in the future . Thanks :slightly_smiling_face:

1 Like