migrate wa to mono2

This commit is contained in:
bignutty 2024-05-17 23:25:17 +02:00
parent 9c53dfe52c
commit d8bb946eca
3 changed files with 9 additions and 11 deletions

View file

@ -62,7 +62,11 @@ module.exports.GenerativeImagesModelsImagen = async function(context, prompt){
})
}
module.exports.WolframQueryCompute = async function(context, query){
return await request(ObeliskApi.WOLFRAM_QUERY_COMPUTE, "POST", {}, {
query
})
}
// GENERATIVEAI
module.exports.bard = async function(context, input){
@ -145,10 +149,4 @@ module.exports.transcribeWithSpeakerLabelsObelisk = async function(context, url)
return await request(ObeliskApi.TRANSCRIBE, "POST", {}, {
url
})
}
module.exports.wolframQuery = async function(context, query){
return await request(ObeliskApi.WOLFRAM_QUERY, "POST", {}, {
q: query
})
}