Libraries tagged by structured-outputs
hojjatjh/openrouter-php
1 Downloads
A clean, dependency-free PHP client for the OpenRouter API. Chat, streaming, tool calling, structured outputs and more.
unknowingpro/php-ai
1 Downloads
A unified PHP interface for LLM providers — Anthropic, OpenAI and Gemini — with streaming, tool calling, structured output and provider-agnostic middleware.
reliant/reliant-php
0 Downloads
Official PHP SDK for Reliant — LLM Reliability Layer
pixelworxio/filament-ai-action
138 Downloads
AI-powered actions for Filament v5 — streaming modal, structured output, intelligent table actions
gazu1986/laravel-ai-validator
0 Downloads
Validate, retry, and type-cast structured AI output against Laravel validation rules or JSON schemas.
arturas88/anyllm
7 Downloads
Production-ready PHP library for LLMs - OpenAI, Anthropic, Google, Mistral, xAI, OpenRouter, Ollama. One interface, all providers, zero vendor lock-in.
tebe/phpinfo
3 Downloads
Extends the phpinfo function and provides a structured output format using JSON.
petstack/roxy-php
1 Downloads
PHP SDK for writing MCP (Model Context Protocol) handlers served by the roxy proxy. Object model, typed builders, elicitation and structured output support.
ndinhbang/laravel-gemini
1 Downloads
A production-ready Laravel package to integrate with the Google Gemini API. Supports text, image, video, audio, long-context, structured output, files, caching, function-calling and understanding capabilities.
drupal-eca-recipe/eca_lib_0049
1 Downloads
Adds an AI-powered button to the Event node form. "Extract the event details" sends the node title and the description to a chat model with a strict JSON schema and fills the compound Event details field, a Custom Field whose columns hold the venue, the city, the capacity, the ticket price, whether the event is online, a contact address and a registration link. Custom Field columns are defined by the site builder, so the mapping the fill action returns is keyed by those column names, and the typed columns cast the strings the schema asks for. After applying the recipe, select a chat model that supports structured output in the chat action. Requires ECA Field Widget Actions 1.0.x-dev at or after commit c7c3edb, because both the compound fill and the recognition of the custom_field field type are unreleased. The recipe ships the Event content type with its Event details field.
drupal-eca-recipe/eca_lib_0048
2 Downloads
Adds two AI-powered buttons to the Business node form. "Look up the address" asks a chat model for the company's postal address and fills the compound Address field, "Look up the website" fills the Link field. Each branch sends the node title and the body text to the chat model with a strict JSON schema, decodes the answer and maps it onto the field's properties, so a country code, street, city and postal code land in the widget for the editor to review before saving. After applying the recipe, select a chat model that supports structured output in both chat actions. Requires ECA Field Widget Actions 1.0.x-dev newer than 1.0.0-beta2, because the compound fill and its "use_yaml" setting are unreleased. The recipe ships the Business content type with its Address and Link fields.
drupal-eca-recipe/eca_lib_0038
3 Downloads
Sends the article text to an AI chat model on presave and writes the structured answer into real node fields: SEO meta description, reading time, sentiment and Tags terms. Triggered by node entity presave, guarded so that each article is enriched only once. Includes the library's Article tags recipe, which provides the Article content type with its body and Tags fields and the Tags vocabulary. Requires the ai_integration_eca and eca_tamper contributed modules. After applying the recipe, select a chat model that supports structured output in the "Ask AI for structured enrichment data" action.
basillangevin/instructor-laravel
0 Downloads
Structured outputs for LLMs using Spatie Data objects.