Interface ZIF_LLM_AUTH
AI Generated documentation.
Overview
The zif_llm_auth interface defines authorization check methods for various operations related to Large Language Model (LLM) interactions. The interface provides four key authorization verification methods:
-
check_provider_maintenance(): -
Validates authorization for performing provider maintenance
-
Raises
zcx_llm_authorizationexception if unauthorized -
check_get_client(model): -
Checks authorization to retrieve a model client
- Takes a model type as input
-
Raises
zcx_llm_authorizationexception if unauthorized -
check_decrypt(): -
Verifies authorization to decrypt secrets
-
Raises
zcx_llm_authorizationexception if unauthorized -
check_encrypt(): -
Validates authorization to encrypt secrets
- Raises
zcx_llm_authorizationexception if unauthorized
Dependencies
- Custom exception class:
zcx_llm_authorization - Custom type:
zllm_model