Skip to content

Commit

Permalink
Update vision model identifier from gpt-4-turbo-v to gpt-4o in busine…
Browse files Browse the repository at this point in the history
…ss card scanner guide
  • Loading branch information
pelikhan committed Sep 16, 2024
1 parent bff27a2 commit 7a21588
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/content/docs/guides/business-card-scanner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ This guide shows how to use vision and image variables to scan business card inf

## Vision model

You will need access to a deployment of the OpenAI vision model. In this example, it is identifier by `gpt-4-turbo-v`.
You will need access to a deployment of the OpenAI vision model. In this example, it is identifier by `gpt-4o`.

Check failure on line 15 in docs/src/content/docs/guides/business-card-scanner.mdx

View workflow job for this annotation

GitHub Actions / build

Identifier should be corrected to 'identified'.

Check failure on line 15 in docs/src/content/docs/guides/business-card-scanner.mdx

View workflow job for this annotation

GitHub Actions / build

The model name 'gpt-4o' seems incorrect. It should likely be 'gpt-4-turbo' or another valid model identifier.
Also set the `maxTokens` to 4000 to ensure the model can process the entire business card.

```js "gpt-4-turbo-v"
```js "gpt-4o"
script({
...
model: "openai:gpt-4-turbo-v",
model: "openai:gpt-4o",
maxTokens: 4000,
})
```
Expand Down

0 comments on commit 7a21588

Please sign in to comment.