mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-14 20:41:21 +08:00
040a3b782c
Signed-off-by: YoungLH <974840768@qq.com>
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"
|