Class SuggestKnowledgeAssistRequest (2.38.0)

SuggestKnowledgeAssistRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The request message for Participants.SuggestKnowledgeAssist.

Attributes

Name Description
parent str
Required. The name of the participant to fetch suggestions for. Format: projects/.
latest_message str
Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/.
context_size int
Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
previous_suggested_query str
Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.