Skip to content

Commit

Permalink
feat (docs): add info around custom models to google vertex provider (#…
Browse files Browse the repository at this point in the history
…3346)

Co-authored-by: 🤖Esteban Dalel R <[email protected]>
  • Loading branch information
lgrammel and EstebanDalelR authored Oct 23, 2024
1 parent aa98cdb commit 1386e0a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions content/providers/01-ai-sdk-providers/11-google-vertex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,15 @@ The first argument is the model id, e.g. `gemini-1.5-pro`.
const model = vertex('gemini-1.5-pro');
```

Google Vertex models support also some model specific settings that are not part of the [standard call settings](/docs/ai-sdk-core/settings).
You can pass them as an options argument:
<Note>
If you are using [your own
models](https://cloud.google.com/vertex-ai/docs/training-overview), the name
of your model needs to start with `projects/`.
</Note>

Google Vertex models support also some model specific settings that are not part
of the [standard call settings](/docs/ai-sdk-core/settings). You can pass them as
an options argument:

```ts
const model = vertex('gemini-1.5-pro', {
Expand Down

0 comments on commit 1386e0a

Please sign in to comment.