Build Event-Driven AI Applications

Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua.

App screenshot

Deploy faster

Everything you need to deploy your app

Quis tellus eget adipiscing convallis sit sit eget aliquet quis. Suspendisse eget egestas a elementum pulvinar et feugiat blandit at. In mi viverra elit nunc.

Push to deploy

Commodo nec sagittis tortor mauris sed. Turpis tortor quis scelerisque diam id accumsan nullam tempus. Pulvinar etiam lacus volutpat eu. Phasellus praesent ligula sit faucibus.

Learn more

SSL certificates

Pellentesque enim a commodo malesuada turpis eleifend risus. Facilisis donec placerat sapien consequat tempor fermentum nibh.

Learn more

Simple queues

Pellentesque sit elit congue ante nec amet. Dolor aenean curabitur viverra suspendisse iaculis eget. Nec mollis placerat ultricies euismod ut condimentum.

Learn more

app.js
import { Configuration, OpenAIApi } from 'openai'

const configuration = new Configuration({
apiKey: process.env.OPENAI_API_KEY,
basePath: 'https://aihooks.dev/v1',
baseOptions: {
headers: {
'webhook-app-id': 'app_2Rs2OiM0yM1zUqRfzsZvcSUcVbo'
}
}
})

const openai = new OpenAIApi(configuration)

const completion = await openai.createChatCompletion({
model: 'gpt-4',
messages: [
{ role: 'system', content: 'You are a helpful assistant' },
{ role: 'user', content: 'List 100 ways to leverage AI' },
]
})