Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
llmbb
/
LLMBB-Agent
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
92bc940
LLMBB-Agent
/
agent
/
schema.py
ff_li
目录调整
f67d239
about 1 year ago
raw
Copy download link
history
blame
Safe
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,
}