AssistantSessionArtifact(mapping=None, *, ignore_unknown_fields=False, **kwargs)A document artifact generated by the assistant within a session, stored as a file in the customer's Cloud Storage bucket.
Attributes |
|
|---|---|
| Name | Description |
id |
str
Output only. The unique identifier of the artifact within the session. |
display_name |
str
Output only. The file name shown to the user, e.g. "hotel_booking_tdd.md". |
gcs_uri |
str
Output only. The Cloud Storage object holding the artifact content. Example: "gs://{project}-agent-assist-artifacts/agent-assist-generated/1_tdd.md". |
mime_type |
str
Output only. The IANA media type of the artifact content, e.g. "text/markdown". |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the artifact was persisted. |
turn_index |
int
Output only. Index of the message in [AssistantSession.messages] whose turn produced the artifact, for placing the artifact chip when history is restored. |