1.0.0 • Published 5 months ago
speechless-ai v1.0.0
Speechless AI
The JavaScript library for Speechless AI. Let your users interact with it and receive an speechless response.
Install
npm i speechless-ai
Usage
The code below shows how to use the chat completions API.
import Speechless from 'speechless-ai';
const speechless = new Speechless();
async function main() {
const chatCompletion = await speechless.chat.completions.create([{ role: 'user', content: 'Are you an AI?' }]);
console.log(chatCompletion); // 😮
}
main();
1.0.0
5 months ago