gpt is back on the menu

This commit is contained in:
bignutty 2024-09-14 20:52:08 +02:00
parent f46e17c5e4
commit a6278667e1
3 changed files with 96 additions and 0 deletions

View file

@ -322,6 +322,13 @@ module.exports.garfield = async function(context,){
return await request(Api.UTILS_GARFIELD, "GET", {}, {})
}
module.exports.gpt = async function(context, prompt, input){
return await request(Api.UTILS_GPT, "GET", {}, {
prompt,
input
})
}
module.exports.inferkit = async function(context, input){
return await request(Api.UTILS_INFERKIT, "GET", {}, {
input: input