You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`import util from 'util'
import PerplexityAI from 'perplexityai'
let handler = async (m, { conn, text, args, isPrems, isOwner, usedPrefix, command }) => {
m.react('🤖')
if (!text) throw "Hola, soy un Chatbot basado en Perplexity, En que te puedo ayudar?"
const response = await PerplexityAI.search(text);
console.log('response', response);
m.reply(response)
}
handler.help = ['perplexity']
handler.tags = ['tools']
handler.command = ['perplexity']
handler.rowner = true
handler.group = true
export default handler`
Me resulta con éste error :
Error: Failed to launch the browser process! /root/.cache/puppeteer/chrome/linux-1108766/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
¿Es necesario tener instalada alguna fuente como Chromium o algo similar? estoy trabajando en Ubuntu 18.04
The text was updated successfully, but these errors were encountered:
Hola Luis
cuando intento usar este código :
`import util from 'util'
import PerplexityAI from 'perplexityai'
let handler = async (m, { conn, text, args, isPrems, isOwner, usedPrefix, command }) => {
m.react('🤖')
if (!text) throw "Hola, soy un Chatbot basado en Perplexity, En que te puedo ayudar?"
const response = await PerplexityAI.search(text);
console.log('response', response);
m.reply(response)
}
handler.help = ['perplexity']
handler.tags = ['tools']
handler.command = ['perplexity']
handler.rowner = true
handler.group = true
export default handler`
Me resulta con éste error :
Error: Failed to launch the browser process! /root/.cache/puppeteer/chrome/linux-1108766/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
¿Es necesario tener instalada alguna fuente como Chromium o algo similar? estoy trabajando en Ubuntu 18.04
The text was updated successfully, but these errors were encountered: