mirror of https://github.com/langgenius/dify.git
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"
|