Use ooba API key in multimodal request
This commit is contained in:
parent
c3129da879
commit
58c3d3eb7f
|
@ -33,6 +33,7 @@ router.post('/caption-image', jsonParser, async (request, response) => {
|
|||
}
|
||||
|
||||
if (request.body.api === 'ooba') {
|
||||
key = readSecret(SECRET_KEYS.OOBA);
|
||||
bodyParams.temperature = 0.1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue