Class SearchKeyGenerationMethod (1.122.0)

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

Options for generating the search key from the conversation history.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attribute

Name Description
last_entry google.cloud.aiplatform_v1beta1.types.StoredContentsExample.SearchKeyGenerationMethod.LastEntry
Use only the last entry of the conversation history (contents_example.contents) as the search key. This field is a member of oneof_ method.

Classes

LastEntry

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

Configuration for using only the last entry of the conversation history as the search key.

Methods

SearchKeyGenerationMethod

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

Options for generating the search key from the conversation history.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields