mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 03:09:49 +08:00
12 lines
312 B
Python
12 lines
312 B
Python
"""Serialized context contributed by an optional content application."""
|
|
|
|
from dataclasses import dataclass, field
|
|
from typing import Any
|
|
|
|
|
|
@dataclass
|
|
class SourceContext:
|
|
text: str = ""
|
|
references: list[dict[str, Any]] = field(default_factory=list)
|
|
warnings: list[str] = field(default_factory=list)
|