Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantChunk.
A chunk of data in an assistant message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Optional. Timestamp when the chunk was created or emitted.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — Optional. Timestamp when the chunk was created or emitted.
- (::Google::Protobuf::Timestamp) — Optional. Timestamp when the chunk was created or emitted.
#payload
def payload() -> ::Google::Protobuf::Struct-
(::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality
report, agent version name, suggested responses etc.
Note: The following fields are mutually exclusive:
payload,text,thought,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#payload=
def payload=(value) -> ::Google::Protobuf::Struct-
value (::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality
report, agent version name, suggested responses etc.
Note: The following fields are mutually exclusive:
payload,text,thought,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality
report, agent version name, suggested responses etc.
Note: The following fields are mutually exclusive:
payload,text,thought,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text
def text() -> ::String-
(::String) — Optional. Text data.
Note: The following fields are mutually exclusive:
text,thought,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text=
def text=(value) -> ::String-
value (::String) — Optional. Text data.
Note: The following fields are mutually exclusive:
text,thought,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. Text data.
Note: The following fields are mutually exclusive:
text,thought,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#thought
def thought() -> ::String-
(::String) — Optional. Thought generated by the model.
Note: The following fields are mutually exclusive:
thought,text,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#thought=
def thought=(value) -> ::String-
value (::String) — Optional. Thought generated by the model.
Note: The following fields are mutually exclusive:
thought,text,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. Thought generated by the model.
Note: The following fields are mutually exclusive:
thought,text,payload,typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#typed_payload
def typed_payload() -> ::Google::Cloud::Ces::V1beta::TypedPayload-
(::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.
Note: The following fields are mutually exclusive:
typed_payload,text,thought,payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
#typed_payload=
def typed_payload=(value) -> ::Google::Cloud::Ces::V1beta::TypedPayload-
value (::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.
Note: The following fields are mutually exclusive:
typed_payload,text,thought,payload. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.
Note: The following fields are mutually exclusive:
typed_payload,text,thought,payload. If a field in that set is populated, all other fields in the set will automatically be cleared.