Untitled
unknown
plain_text
22 days ago
233 B
47
Indexable
Never
import OpenAI from "openai"; const openai = new OpenAI(); const completion = await openai.chat.completions.create({ model: "gpt-4o", messages: [ {"role": "user", "content": "write a haiku about ai"} ] });
Leave a Comment