mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-24 22:07:05 -04:00
gemini vision
This commit is contained in:
parent
9254eb1abf
commit
ebe629feae
4 changed files with 87 additions and 2 deletions
|
@ -7,7 +7,7 @@ const ObeliskApi = Object.freeze({
|
|||
HOST: ObeliskHosts.prod,
|
||||
|
||||
GOOGLE_BARD: "/parrot/v1/google:bard",
|
||||
GEMINI_PRO_VISION: "/parrot/v1/google:geminivision",
|
||||
GEMINI_PRO_VISION: "/parrot/v1/google:geminiVision",
|
||||
|
||||
SUMMARIZE_WEBPAGES: "/flamingo/v1/web:summarize"
|
||||
})
|
||||
|
|
|
@ -48,7 +48,7 @@ module.exports.bard = async function(context, input){
|
|||
}
|
||||
|
||||
module.exports.geminiVision = async function(context, input, url){
|
||||
return await request(ObeliskApi.GOOGLE_BARD, "POST", {}, {
|
||||
return await request(ObeliskApi.GEMINI_PRO_VISION, "POST", {}, {
|
||||
input,
|
||||
url
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue