vercel/vercel-ai
GitHub Action to interact with different AI model providers.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prompt | The input prompt to generate the text from | yes | — |
| api-key | An API KEY for the AI Gateway: https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%2Fapi-keys | yes | — |
| model | An identifier from the list of provider models supported by the AI Gateway: https://vercel.com/ai-gateway/models | yes | — |
| schema | Optional JSON schema for structured output. When provided, the action will use generateObject and return structured JSON data. | no | — |
| system | Optional system message to set the behavior or context for the AI model | no | — |
Outputs
| name | description |
|---|---|
| text | Generated text output |
| json | Generated JSON output (only available when schema input is provided) |