Interface ZIF_LLM_SO
AI Generated documentation.
Overview
The ZIF_LLM_SO
interface provides functionality for handling structured output schemas. It offers three main methods:
SET_SCHEMA
: Configures the schema based on an ABAP data descriptor and optional field descriptionsGET_SCHEMA
: Retrieves the converted schema as a stringGET_DATATYPE
: Returns the internal data type definition
The interface defines a structured type DEF_DESCRIPTION
and corresponding table type DEF_DESCRIPTIONS
for providing field metadata like descriptions and enumeration values.
classDiagram
class ZIF_LLM_SO {
+set_schema(data_desc: REF TO cl_abap_datadescr, description: def_descriptions)
+get_schema() string
+get_datatype() REF TO cl_abap_datadescr
}
Dependencies
CL_ABAP_DATADESCR
: Core ABAP runtime type description classZCX_LLM_VALIDATION
: Custom exception class for validation errors