object

# `open_ai`

Facade predicates for the OpenAI-compatible public non-admin API library.

Availability:
`logtalk_load(open_ai(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-09
Compilation flags:
`static, context_switching_calls`
Uses:
open_ai_catalog
open_api
Remarks:
(none)
Inherited public predicates:
(none)

## Public predicates

### `document/1`

Returns the generated OpenAPI document for the supported OpenAI-compatible endpoint surface.

Compilation flags:
`static`
Template:
`document(Document)`
Mode and number of proofs:
`document(-compound)` - `one`

### `operation_count/1`

Returns the number of supported public non-admin OpenAI operations in the pinned catalog.

Compilation flags:
`static`
Template:
`operation_count(Count)`
Mode and number of proofs:
`operation_count(-integer)` - `one`

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)