Files
audita/docs/integrations/openai-compatible-llm.md

23 lines
1.5 KiB
Markdown

# OpenAI-Compatible LLM Integration
Audita uses [PromptKit v0.25.0](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/integrations/openai-compatible-chat.md)
for its OpenAI-compatible transport, provider conventions, credentials, retries,
admission, and observed token and cost information. Inspection prepares requests
without contacting a provider or requiring model credentials.
Audita selects a profile for each proposal, validation, and correction-repair
role. The selected prompt supplies the output contract and structural-repair
budget, while Audita retains its operation timeout, transient retry selection,
semantic correction-repair budget, and domain checks. Operator prompt contracts
must produce the response shapes expected by Audita. See [configuration](../config.md)
and the [migration guide](../migrations/v4.1.md).
Exhausted structural validation, an incompatible response JSON, a live-parent
operation timeout, capacity rejection, transport failure, malformed provider
response, or provider HTTP failure is recoverable for the affected operation.
Proposal generation contributes no candidates from a failed response; a failed
validation batch makes its candidates unavailable while independent work can
continue. Caller cancellation, broken assets or configuration, and internal
programming failures remain fatal. Ordinary reports use safe reason codes and
counts. Full interaction content is optional [debug evidence](../operations.md#debug-evidence).