How to use the OpenAI Decisions API with Strands Agents

Chronological Source Flow
Back

AI Fusion Summary

OpenAI launched the Decisions API, which answers bounded questions directly without generating text or inventing options. By providing a request and a fixed list of choices, the API returns one specific option with a confidence score. This functionality was integrated into a Strands Agents agent using two different methods available in the repository. Both implementations utilize the official AsyncOpenAI client and the gpt-6-luna model to ensure the returned choice is always from the supplied list.
Community Comments
Loading updates...
0