AshAi.Actions.Prompt.Adapter.StructuredOutput (ash_ai v0.2.2)

View Source

An adapter for prompt-backed actions that leverages structured output from LLMs.

The only currently known service that supports this is OpenAI.

Summary

Functions

run(data, opts)

Callback implementation for AshAi.Actions.Prompt.Adapter.run/2.