vercel / modelfusion

The TypeScript library for building AI applications.
https://modelfusion.dev
MIT License
1.01k stars 76 forks source link

Google Gemini exploration #244

Open jakedetels opened 5 months ago

jakedetels commented 5 months ago

Contribution suggestion from @lgrammel

"Google Gemini exploration (this might be impact API design, so I want to prob do it myself)"

Morphexe commented 5 months ago

Am I correct to think that there is no support for gemini models/vertex on the lib at this moment? If one wanted to add this, what would be the steps to go?

lgrammel commented 5 months ago

@Morphexe correct. if you want to add this, you can follow the implementation pattern for any of the existing text generators and create a version of the gemini api. if you want to use vertex, you probably need to use google auth library, which is not edge ready, so the best approach would be to create a separate node module.

bigrig2212 commented 2 months ago

+1 for this one.