Skip to content

Commit

Permalink
Docs: update for the new API release
Browse files Browse the repository at this point in the history
  • Loading branch information
raycastbot committed Oct 9, 2024
1 parent be99a01 commit 199ab35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.83.2"
"version": "1.84.0"
}
6 changes: 2 additions & 4 deletions docs/api-reference/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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. |
Expand Down

0 comments on commit 199ab35

Please sign in to comment.