AssistantContent(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Multi-modal content.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
text |
str
Inline text. This field is a member of oneof _ data .
|
inline_data |
google.cloud.discoveryengine_v1.types.AssistantContent.Blob
Inline binary data. This field is a member of oneof _ data .
|
file |
google.cloud.discoveryengine_v1.types.AssistantContent.File
A file, e.g., an audio summary. This field is a member of oneof _ data .
|
executable_code |
google.cloud.discoveryengine_v1.types.AssistantContent.ExecutableCode
Code generated by the model that is meant to be executed. This field is a member of oneof _ data .
|
code_execution_result |
google.cloud.discoveryengine_v1.types.AssistantContent.CodeExecutionResult
Result of executing an ExecutableCode. This field is a member of oneof _ data .
|
role |
str
The producer of the content. Can be "model" or "user". |
thought |
bool
Optional. Indicates if the part is thought from the model. |
Classes
Blob
Blob(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Inline blob.
CodeExecutionResult
CodeExecutionResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Result of executing ExecutableCode.
ExecutableCode
ExecutableCode(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Code generated by the model that is meant to be executed by the model.
File
File(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A file, e.g., an audio summary.