Skip to content

Commit

Permalink
Update Vertex docs for different publishers
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniosarosi committed Nov 23, 2024
1 parent cafd2ea commit f15a8a6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions fern/03-reference/baml/clients/providers/vertex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,19 @@ client<llm> MyClient {

For all other options, see the [official Vertex AI documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal).

## Publishers Other Than Google

If you are using models from publishers other than Google, such as Llama from
Meta, use your project endpoint as the `base_url` in BAML:



```baml
client<llm> VertexLlama {
provider vertex-ai
options {
base_url "https://${LOCATION}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/${LOCATION}/endpoints/"
project_id my-project-id
location us-central1
}
}
```

0 comments on commit f15a8a6

Please sign in to comment.