mirror of
https://github.com/langgenius/dify.git
synced 2025-11-17 11:53:27 +00:00
11 lines
170 B
Python
11 lines
170 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class DocumentContext(BaseModel):
|
|
"""
|
|
Model class for document context.
|
|
"""
|
|
|
|
content: str
|
|
score: float | None = None
|