Module: LLM::OpenAI::Schema Private
- Included in:
- Alibaba::RequestAdapter, DeepSeek::RequestAdapter
- Defined in:
- lib/llm/providers/openai/schema.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Fallback schema handling for OpenAI-compatible providers whose APIs
do not support the json_schema response format. Falls back to
json_object and injects a system message describing the schema —
which also satisfies the "messages must contain the word json"
requirement.