chronulus_core.types.attribute
Text
Bases: BaseModel
Attribute to upload a large text document
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data
|
str
|
The content of the large text document |
required |
Attributes:
Name | Type | Description |
---|---|---|
data |
str
|
The content of the large text document |
Source code in src2/chronulus_core/types/attribute.py
TextFromFile
Bases: BaseModel
Attribute to upload a text document from a local file
The text should be accessible in your local file system by the client
Parameters:
Name | Type | Description | Default |
---|---|---|---|
file_path
|
str
|
Path to text file, e.g., '/path/to/text.txt' |
required |
Attributes:
Name | Type | Description |
---|---|---|
file_path |
str
|
Path to text file, e.g., '/path/to/text.txt' |
data |
Optional[str]
|
The content of the large text document |