LLMBB-Agent / agent /schema.py
ff_li
目录调整
f67d239
raw
history blame contribute delete
243 Bytes
from dataclasses import dataclass
# TODO: use pydantic instead?
@dataclass
class RefMaterial:
url: str
text: list
def to_dict(self) -> dict:
return {
'url': self.url,
'text': self.text,
}