Constants
gllm_datastore.constants
Contains constants used throughout the gllm_datastore package.
References
NONE
DEFAULT_REQUEST_TIMEOUT = 60
module-attribute
DEFAULT_TOP_K = 10
module-attribute
SIMILARITY_SCORE = 'score'
module-attribute
METADATA_KEYS
Metadata keys used in the cache compatible vector data store.
Attributes:
Name | Type | Description |
---|---|---|
EMBEDDINGS |
str
|
Key for the embeddings in the cache. |
DOCUMENTS |
str
|
Key for the documents in the cache. |
METADATA |
str
|
Key for the metadata in the cache. |
ORIGINAL_KEY |
str
|
Key to store the original key value. |
CACHE_VALUE |
str
|
Key for the cached value. |
CACHE_CREATED |
str
|
Key for the timestamp when the cache was created. |
TTL |
str
|
Key for the time-to-live of the cache. |
EXPIRE_AT |
str
|
Key for the expiration time of the cache. |
LAST_USED_AT |
str
|
Key for the last used time of the cache. |
ACCESS_COUNT |
str
|
Key for the access count of the cache. |