gemini text

This commit is contained in:
derpystuff 2023-12-14 17:27:45 +01:00
parent 9b6ef0da26
commit 3b478bd69e
4 changed files with 79 additions and 1 deletions

View file

@ -47,6 +47,12 @@ module.exports.bard = async function(context, input){
})
}
module.exports.gemini = async function(context, prompt){
return await request(ObeliskApi.GEMINI_PRO, "POST", {}, {
prompt
})
}
module.exports.geminiVision = async function(context, input, url){
return await request(ObeliskApi.GEMINI_PRO_VISION, "POST", {}, {
input,