Interface ZIF_LLM_SO
AI Generated documentation.
Overview
Interface ZIF_LLM_SO provides structured output schema management for ABAP data types.
Key Methods:
SET_SCHEMA:
Defines the schema structure using aCL_ABAP_DATADESCRreference and optional field descriptions. Validates input and raisesZCX_LLM_VALIDATIONon errors.
Parameters:DATA_DESC: Data type descriptor (e.g., structure/table type)-
DESCRIPTION: Optional field metadata (names, descriptions, enum values) -
GET_SCHEMA:
Returns the schema in a standardized string format (e.g., JSON schema). -
GET_DATATYPE:
Retrieves the internal data type reference (CL_ABAP_DATADESCR), primarily for internal processing.
Dependencies
CL_ABAP_DATADESCR: Core ABAP type description class for data type handling.ZCX_LLM_VALIDATION: Custom exception class for schema validation errors.