1.0.3-alpha.1 • Published 1 year ago
quora-poe.js v1.0.3-alpha.1
quora-poe.js
A package to interact with poe.com. Based on the work of (muharamdani)https://github.com/muharamdani
Installation
npm install quora-poe.js
Usage
Available models: gpt-4, chatgpt, sage, claude+, claude, dragonfly
One message:
import Poe from 'quora-poe.js';
(async () => {
const bot = new Poe();
await bot.start();
let answer = await bot.ask('Hello!', 'gpt-4');
})();
Conversation:
import Poe from 'quora-poe.js';
(async () => {
const bot = new Poe();
await bot.start();
let conversation = [
{
role: 'user',
content: 'My name is John',
},
{
role: 'ai',
content:
'Hello John! How can I help you today? If you have any questions or need assistance, please feel free to ask.Hello John! How can I help you today? If you have any questions or need assistance, please feel free to ask.',
},
];
let answer = await bot.send(conversation, 'gpt-4');
})();
1.0.3-alpha.1
1 year ago
1.0.3-alpha
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.2-alpha.1
1 year ago
1.0.2-alpha
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago