feat: support LLM process document file (#10966)

Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
非法操作 2024-11-22 19:32:44 +08:00 committed by GitHub
commit 08ac36812b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 233 additions and 88 deletions

View file

@ -49,7 +49,7 @@ class PromptMessageFunction(BaseModel):
function: PromptMessageTool
class PromptMessageContentType(Enum):
class PromptMessageContentType(str, Enum):
"""
Enum class for prompt message content type.
"""