mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-21 12:27:03 -04:00
gemini text
This commit is contained in:
parent
9b6ef0da26
commit
3b478bd69e
4 changed files with 79 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue