Genkit OpenAI Plugin
Preview — This plugin is in preview and may have API changes in future releases.
OpenAI-compatible model provider for Genkit (OpenAI, Azure OpenAI, and other compatible endpoints).
Installation
uv add genkit-openai
Usage
from genkit import Genkit
from genkit_openai import OpenAI
ai = Genkit(plugins=[OpenAI()])
res = await ai.generate(
model='openai/gpt-5.2',
prompt='Suggest 2 catchy names for an AI newsletter.',
)
print(res.text)
Set OPENAI_API_KEY in the environment, or pass api_key= to OpenAI().
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_openai-0.9.0.tar.gz.
File metadata
- Download URL: genkit_openai-0.9.0.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eda40e30a957c3ebdf49713970046956eba635429e1df421050147884768901e
|
|
| MD5 |
422911282bfa5bdfdd34332b2b572b49
|
|
| BLAKE2b-256 |
c0f446e61e8ebe06b070c2868947875b1d28a08f321bfb8383cc4b8b5b42ceae
|
Provenance
The following attestation bundles were made for genkit_openai-0.9.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_openai-0.9.0.tar.gz -
Subject digest:
eda40e30a957c3ebdf49713970046956eba635429e1df421050147884768901e - Sigstore transparency entry: 2307390355
- Sigstore integration time:
-
Permalink:
genkit-ai/genkit@5df1a38edcd45178f33acda93ec17cd994a15cb4 -
Branch / Tag:
refs/tags/py/v0.9.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@5df1a38edcd45178f33acda93ec17cd994a15cb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file genkit_openai-0.9.0-py3-none-any.whl.
File metadata
- Download URL: genkit_openai-0.9.0-py3-none-any.whl
- Upload date:
- Size: 34.6 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 |
041bb47867c6bea7527f611f192cef33fc3189e19140fce7c5a76ece367a9184
|
|
| MD5 |
dcacdb01288f1fae9af7d4277d31ab57
|
|
| BLAKE2b-256 |
50bdd5817cbe890d8511e544745108243b1566bb863b6edb142e2a765fb681bc
|
Provenance
The following attestation bundles were made for genkit_openai-0.9.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_openai-0.9.0-py3-none-any.whl -
Subject digest:
041bb47867c6bea7527f611f192cef33fc3189e19140fce7c5a76ece367a9184 - Sigstore transparency entry: 2307360201
- Sigstore integration time:
-
Permalink:
genkit-ai/genkit@5df1a38edcd45178f33acda93ec17cd994a15cb4 -
Branch / Tag:
refs/tags/py/v0.9.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@5df1a38edcd45178f33acda93ec17cd994a15cb4 -
Trigger Event:
push
-
Statement type: