feat(ChatKnowledge): Support Financial Report Analysis (#1702)

Co-authored-by: hzh97 <2976151305@qq.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Co-authored-by: licunxing <864255598@qq.com>
This commit is contained in:
Aries-ckt
2024-07-26 13:40:54 +08:00
committed by GitHub
parent 22e0680a6a
commit 167d972093
160 changed files with 89339 additions and 795 deletions

View File

@@ -1,3 +1,4 @@
from enum import Enum
from typing import List, Optional
from dbgpt._private.pydantic import BaseModel, ConfigDict
@@ -19,12 +20,20 @@ class KnowledgeSpaceRequest(BaseModel):
name: str = None
"""vector_type: vector type"""
vector_type: str = None
"""vector_type: vector type"""
domain_type: str = "normal"
"""desc: description"""
desc: str = None
"""owner: owner"""
owner: str = None
class BusinessFieldType(Enum):
"""BusinessFieldType"""
NORMAL = "Normal"
class KnowledgeDocumentRequest(BaseModel):
"""doc_name: doc path"""