const llm = new LLMExtension( apiKey: 'YOUR_OPENAI_API_KEY', model: 'gpt-4o-mini', prompt: `You are a helpful writing assistant. Suggest the next sentence based on the current document.` );
Choose based on scale, need for ordering, and human-readability. rctd444
// 1️⃣ Create a CRDT document const doc = new RCTD(); Choose based on scale