Files
unstract/backend/adapter_processor/constants.py
2024-02-25 16:19:36 +05:30

24 lines
684 B
Python

class AdapterKeys:
JSON_SCHEMA = "json_schema"
ADAPTER_TYPE = "adapter_type"
IS_DEFAULT = "is_default"
LLM = "LLM"
X2TEXT = "X2TEXT"
VECTOR_DB = "VECTOR_DB"
EMBEDDING = "EMBEDDING"
NAME = "name"
DESCRIPTION = "description"
ICON = "icon"
ADAPTER_ID = "adapter_id"
ADAPTER_METADATA = "adapter_metadata"
ADAPTER_METADATA_B = "adapter_metadata_b"
ID = "id"
IS_VALID = "is_valid"
LLM_DEFAULT = "llm_default"
VECTOR_DB_DEFAULT = "vector_db_default"
EMBEDDING_DEFAULT = "embedding_default"
ADAPTER_NAME_EXISTS = (
"Configuration with this ID already exists. "
"Please try with a different ID"
)