import '@johnlindquist/kit';
import Bottleneck from 'bottleneck';
import { createChat } from 'completions';
const openAiKey = await env('OPENAI_API_KEY', {
hint: `Grab a key from <a href="https://platform.openai.com/account/api-keys">here</a>`,
});
const chat = createChat({
apiKey: openAiKey,
model: 'gpt-3.5-turbo',
});