From 199ab35afd685adb8b2ca893c35219161ab3d684 Mon Sep 17 00:00:00 2001 From: raycastbot Date: Wed, 9 Oct 2024 12:29:30 +0000 Subject: [PATCH] Docs: update for the new API release --- docs/.config.json | 2 +- docs/api-reference/ai.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/.config.json b/docs/.config.json index b63082cdd7b..5ccb440326d 100644 --- a/docs/.config.json +++ b/docs/.config.json @@ -1,3 +1,3 @@ { - "version": "1.83.2" + "version": "1.84.0" } diff --git a/docs/api-reference/ai.md b/docs/api-reference/ai.md index a1e9978d29d..08efd9b5fd6 100644 --- a/docs/api-reference/ai.md +++ b/docs/api-reference/ai.md @@ -14,7 +14,7 @@ You can check if a user has access to the API using [`environment.canAccess(AI)` ### AI.ask -Ask AI anything you want. Use this in “no-view” Commands, effects, or callbacks. In a React component, you might want to use the [useAI util hook](../utils-reference/react-hooks/useAI.md) instead. +Ask AI anything you want. Use this in “no-view” Commands, effects, or callbacks. In a React component, you might want to use the [`useAI` util hook](../utils-reference/react-hooks/useAI.md) instead. #### Signature @@ -152,9 +152,7 @@ The AI model to use to answer to the prompt. Defaults to `AI.Model["OpenAI_GPT3. #### Enumeration members -| Model | Description | -|-------|-------------| -| OpenAI_GPT4 | GPT-4 is OpenAI's most capable model with broad general knowledge, allowing it to follow complex instructions and solve difficult problems. | +| OpenAI_GPT4 | GPT-4 is OpenAI’s most capable model with broad general knowledge, allowing it to follow complex instructions and solve difficult problems. | | OpenAI_GPT4-turbo | GPT-4 Turbo from OpenAI has a big context window that fits hundreds of pages of text, making it a great choice for workloads that involve longer prompts. | | OpenAI_GPT4o | GPT-4o is the most advanced and fastest model from OpenAI, making it a great choice for complex everyday problems and deeper conversations. | | OpenAI_GPT4o-mini | GPT-4o mini is a highly intelligent and fast model that is ideal for a variety of everyday tasks. |