mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 08:02:02 +00:00
This adds the missing `text` parameter to the Responses API that is how users control structured outputs. All we do with that parameter is map it to the corresponding chat completion response_format. The unit tests exercise the various permutations allowed for this property, while a couple of new verification tests actually use it for real to verify the model outputs are following the format as expected. Signed-off-by: Ben Browning <bbrownin@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_instance.py | ||
| agents.py | ||
| config.py | ||
| openai_responses.py | ||
| persistence.py | ||
| safety.py | ||