Genkit Vertex AI Plugin
Integrate Genkit with Google Cloud Vertex AI Model Garden.
Installation
uv add genkit-vertexai
Usage
from genkit import Genkit
from genkit_vertexai.model_garden import ModelGarden
ai = Genkit(
plugins=[ModelGarden(project_id='my-project', location='us-central1')],
)
res = await ai.generate(
model='modelgarden/anthropic/claude-3-5-sonnet-v2@20241022',
prompt='Explain recursion in 10 words.',
)
print(res.text)
Requires Google Cloud Application Default Credentials (ADC) or explicit credentials.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genkit_vertexai-0.10.0.tar.gz.
File metadata
- Download URL: genkit_vertexai-0.10.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f8d7161af83c7e61ea9498fb986346c35034b7755de411f9ccd71bf395a081
|
|
| MD5 |
9d468d543763dcb11f07dcee9ba1bd39
|
|
| BLAKE2b-256 |
56042b46bc2ed70f6103f71c67a0a4a1675b51e650d6c17d8310613776ace04a
|
Provenance
The following attestation bundles were made for genkit_vertexai-0.10.0.tar.gz:
Publisher:
publish_python.yml on genkit-ai/genkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genkit_vertexai-0.10.0.tar.gz -
Subject digest:
95f8d7161af83c7e61ea9498fb986346c35034b7755de411f9ccd71bf395a081 - Sigstore transparency entry: 2536292491
- Sigstore integration time:
-
Permalink:
genkit-ai/genkit@33c8cc1d7fc2e0d3ad572e135a8c5ef5d401c76e -
Branch / Tag:
refs/tags/py/v0.10.0 - Owner: https://github.com/genkit-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_python.yml@33c8cc1d7fc2e0d3ad572e135a8c5ef5d401c76e -
Trigger Event:
push
-
Statement type:
File details
Details for the file genkit_vertexai-0.10.0-py3-none-any.whl.
File metadata
- Download URL: genkit_vertexai-0.10.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8a2aaa259e2a7241f258327a634f35a541050125cc439f8eb94aad50a471b8
|
|
| MD5 |
44241e06b807cad079febfe147c6b5ec
|
|
| BLAKE2b-256 |
504c99c7282c759114e7fbe5106aff8ea77f3dc31eea8afe1269188fb42f5b4e
|
Provenance
The following attestation bundles were made for genkit_vertexai-0.10.0-py3-none-any.whl:
Publisher:
publish_python.yml on genkit-ai/genkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genkit_vertexai-0.10.0-py3-none-any.whl -
Subject digest:
ad8a2aaa259e2a7241f258327a634f35a541050125cc439f8eb94aad50a471b8 - Sigstore transparency entry: 2536294894
- Sigstore integration time:
-
Permalink:
genkit-ai/genkit@33c8cc1d7fc2e0d3ad572e135a8c5ef5d401c76e -
Branch / Tag:
refs/tags/py/v0.10.0 - Owner: https://github.com/genkit-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_python.yml@33c8cc1d7fc2e0d3ad572e135a8c5ef5d401c76e -
Trigger Event:
push
-
Statement type: