Skip to content

Commit 60de02b

Browse files
mjirvMichael Irvine
andauthored
docs: Fix bad views usage in the AI API example (#9306)
Co-authored-by: Michael Irvine <[email protected]>
1 parent 5fa06b7 commit 60de02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/product/apis-integrations/ai-api/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ curl \
3838
-X POST \
3939
-H "Content-Type: application/json" \
4040
-H "Authorization: EXAMPLE-API-TOKEN" \
41-
--data '{ "messages": [{ "role": "user", "content": "What cities have the highest aov this year?", "views": ["orders_view"] }]}' \
41+
--data '{ "messages": [{ "role": "user", "content": "What cities have the highest aov this year?" }], "views": ["orders_view"] }' \
4242
https://YOUR_CUBE_API/cubejs-api/v1/ai/query/completions
4343
```
4444

0 commit comments

Comments
 (0)