mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
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:
@@ -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"""
|
||||
|
||||
|
Reference in New Issue
Block a user