Skip to content
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if (aiConfig.enabled) {

```typescript
// Use the same defaultConfig from the retrieval section above
const chat = await aiClient.initChat(
const chat = await aiClient.createChat(
'customer-support-chat',
context,
defaultConfig,
Expand Down
Loading
Loading