mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
985 B
985 B
TextContent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| meta | Dict[str, object] | [optional] | |
| annotations | EmbeddedResourceAnnotations | [optional] | |
| text | str |
Example
from goose_api.models.text_content import TextContent
# TODO update the JSON string below
json = "{}"
# create an instance of TextContent from a JSON string
text_content_instance = TextContent.from_json(json)
# print the JSON string representation of the object
print(TextContent.to_json())
# convert the object into a dict
text_content_dict = text_content_instance.to_dict()
# create an instance of TextContent from a dict
text_content_from_dict = TextContent.from_dict(text_content_dict)