mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-20 03:47:02 -04:00
add webask
This commit is contained in:
parent
192deea3c2
commit
362f95e612
4 changed files with 85 additions and 38 deletions
|
@ -82,6 +82,13 @@ module.exports.gpt4 = async function(context, prompt, input){
|
|||
}
|
||||
|
||||
// FLAMINGO
|
||||
module.exports.webAsk = async function(context, url, prompt){
|
||||
return await request(ObeliskApi.WEB_ASK, "POST", {}, {
|
||||
url,
|
||||
prompt
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.summarizeWebpage = async function(context, url){
|
||||
return await request(ObeliskApi.SUMMARIZE_WEBPAGES, "POST", {}, {
|
||||
url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue