mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
14 lines
320 B
Python
14 lines
320 B
Python
from enum import Enum
|
|
|
|
|
|
class Field(Enum):
|
|
CONTENT_KEY = "page_content"
|
|
METADATA_KEY = "metadata"
|
|
GROUP_KEY = "group_id"
|
|
VECTOR = "vector"
|
|
# Sparse Vector aims to support full text search
|
|
SPARSE_VECTOR = "sparse_vector"
|
|
TEXT_KEY = "text"
|
|
PRIMARY_KEY = "id"
|
|
DOC_ID = "metadata.doc_id"
|