GenerateSuggestionsResponse

The response message for Conversations.GenerateSuggestions.

JSON representation
{ "generatorSuggestionAnswers": [ { object (GeneratorSuggestionAnswer) } ], "latestMessage": string }
Fields
generatorSuggestionAnswers[]

object (GeneratorSuggestionAnswer)

The answers generated for the conversation based on context.

latestMessage

string

The name of the latest conversation message used as context for compiling suggestion.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

GeneratorSuggestionAnswer

A GeneratorSuggestion answer.

JSON representation
{ "generatorSuggestion": { object (GeneratorSuggestion) }, "sourceGenerator": string, "answerRecord": string }
Fields
generatorSuggestion

object (GeneratorSuggestion)

Suggestion details.

sourceGenerator

string

The name of the generator used to generate this suggestion. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>.

answerRecord

string

Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.