Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.101.0/docs/apis/_sources/open_ai_server_1.rst.txt

.. index:: single: open_ai_server(Backend) .. _open_ai_server/1:

.. rst-class:: right

object

open_ai_server(Backend)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

.. index:: open_api_info/1 .. _open_ai_server/1::open_api_info/1:

open_api_info/1 ^^^^^^^^^^^^^^^^^^^

Hook returning the OpenAPI information object for the server facade.

| Compilation flags: | static

| Template: | open_api_info(Info) | Mode and number of proofs: | open_api_info(-compound) - one


.. index:: open_api_servers/1 .. _open_ai_server/1::open_api_servers/1:

open_api_servers/1 ^^^^^^^^^^^^^^^^^^^^^^

Hook returning the OpenAPI server list for the local server facade.

| Compilation flags: | static

| Template: | open_api_servers(Servers) | Mode and number of proofs: | open_api_servers(-list(compound)) - one


.. index:: open_api_security/1 .. _open_ai_server/1::open_api_security/1:

open_api_security/1 ^^^^^^^^^^^^^^^^^^^^^^^

Hook returning the OpenAPI security requirements for the server facade.

| Compilation flags: | static

| Template: | open_api_security(Security) | Mode and number of proofs: | open_api_security(-list(compound)) - zero_or_one


.. index:: open_api_security_scheme/2 .. _open_ai_server/1::open_api_security_scheme/2:

open_api_security_scheme/2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hook enumerating OpenAPI security schemes for the server facade.

| Compilation flags: | static

| Template: | open_api_security_scheme(Name,Scheme) | Mode and number of proofs: | open_api_security_scheme(?atom,?compound) - zero_or_more


.. index:: open_api_schema/2 .. _open_ai_server/1::open_api_schema/2:

open_api_schema/2 ^^^^^^^^^^^^^^^^^^^^^

Hook enumerating named OpenAPI schemas for the server facade.

| Compilation flags: | static

| Template: | open_api_schema(Name,Schema) | Mode and number of proofs: | open_api_schema(?atom,?compound) - zero_or_more


.. index:: endpoint/5 .. _open_ai_server/1::endpoint/5:

endpoint/5 ^^^^^^^^^^^^^^

Hook enumerating REST endpoint descriptors derived from the generated OpenAI catalog.

| Compilation flags: | static

| Template: | endpoint(Id,Method,Path,Action,Options) | Mode and number of proofs: | endpoint(?atom,?atom,?atom,?atom,?list(compound)) - zero_or_more


.. index:: open_api_validate_request/1 .. _open_ai_server/1::open_api_validate_request/1:

open_api_validate_request/1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hook selecting operations whose requests should be validated against the OpenAPI contract.

| Compilation flags: | static

| Template: | open_api_validate_request(Id) | Mode and number of proofs: | open_api_validate_request(?atom) - zero_or_more


.. index:: open_api_validate_response/1 .. _open_ai_server/1::open_api_validate_response/1:

open_api_validate_response/1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hook selecting operations whose responses should be validated against the OpenAPI contract.

| Compilation flags: | static

| Template: | open_api_validate_response(Id) | Mode and number of proofs: | open_api_validate_response(?atom) - zero_or_more


.. index:: dispatch_open_ai/2 .. _open_ai_server/1::dispatch_open_ai/2:

dispatch_open_ai/2 ^^^^^^^^^^^^^^^^^^^^^^

Dispatches a routed OpenAI request to the backend object and returns a REST result. Backend application errors should be returned as REST result terms; unexpected backend failure or error is left to the rest action failure handling.

| Compilation flags: | static

| Template: | dispatch_open_ai(Request,Result) | Mode and number of proofs: | dispatch_open_ai(+compound,--term) - one


Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)