nobita-gpt / gpt_index /constants.py
binhnase04854's picture
first deploy
b699122
raw
history blame contribute delete
277 Bytes
"""Set of constants."""
MAX_CHUNK_SIZE = 3900
MAX_CHUNK_OVERLAP = 200
NUM_OUTPUTS = 256
INDEX_STRUCT_KEY = "index_struct"
DOCSTORE_KEY = "docstore"
VECTOR_STORE_KEY = "vector_store"
ADDITIONAL_QUERY_CONTEXT_KEY = "query_context"
TYPE_KEY = "__type__"
DATA_KEY = "__data__"