Skip to content

Docs

Laravel AI SDK Classification

The Laravel AI SDK's docs carry a Classification section covering classifying images, yes or no decisions, and choosing from collections, and list TYPESAFE_API_KEY among the provider credentials in config/ai.php.
Format
Docs
Reading time
2 min
Published by
Community
Author
Laravel
Last verified
Oct 2026

Highlights

  • Install with composer require laravel/ai, publish with php artisan vendor:publish, then run php artisan migrate.
  • TYPESAFE_API_KEY sits in config/ai.php or .env with OpenAI, Anthropic, Gemini, Groq, Cohere, DeepSeek, xAI, and OpenRouter keys.
  • The Classification section covers classifying images, yes or no decisions, and choosing from collections.
  • Custom base URLs are supported for OpenAI, Anthropic, Gemini, Groq, Cohere, DeepSeek, xAI, and OpenRouter, for proxies such as LiteLLM.
  • OpenAI-compatible drivers such as LM Studio, vLLM, Together, Fireworks, or a local gateway need a url, with the key optional as a bearer token.

Watch out

The captured documentation shows the SDK overview, installation, provider configuration, and the Classification section headings, but the classification examples themselves are outside the captured text, so this entry establishes the Jev key and section layout rather than exact classification APIs. No licence, pricing, or rate limits appear on the page.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai