speechless-ai
v1.0.0
Published
Speechless AI
Downloads
1
Readme
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();