AI in the browser, powered by micropayments
npm install @deezy-inc/web-ai # or yarn add @deezy-inc/web-ai
For a live demo, see: https://github.com/deezy-inc/web-ai-demo-site
NodeJs & Browser
import { openai } from '@deezy-inc/web-ai'
const response = await openai.createChatCompletion({
model: 'gpt-3.5-turbo',
messages: [{
"role": "system",
"content": "You are Web AI - a version of ChatGPT gated by lightning micropayments"
}]
})
- Install
just
just -l
Public domain.