casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
48 stars 9 forks source link

Add support for Gemini models #387

Closed KallynGowdy closed 6 months ago

KallynGowdy commented 6 months ago

Currently, we do not support using Google Gemini AI via the ai.chat() function. Gemini currently supports multi-modal input via embedding base64 images as a chat part. We should extend the ai.chat() function and AIController to support Gemini models.

Gemini Docs: https://ai.google.dev/tutorials/node_quickstart