Vertex AI v1beta1 API - Class StoredContentsExample (1.0.0-beta24)

public sealed class StoredContentsExample : IMessage<StoredContentsExample>, IEquatable<StoredContentsExample>, IDeepCloneable<StoredContentsExample>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class StoredContentsExample.

A ContentsExample to be used with GenerateContent alongside information required for storage and retrieval with Example Store.

Inheritance

object > StoredContentsExample

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

StoredContentsExample()

public StoredContentsExample()

StoredContentsExample(StoredContentsExample)

public StoredContentsExample(StoredContentsExample other)
Parameter
Name Description
other StoredContentsExample

Properties

ContentsExample

public ContentsExample ContentsExample { get; set; }

Required. The example to be used with GenerateContent.

Property Value
Type Description
ContentsExample

SearchKey

public string SearchKey { get; set; }

Optional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from contents_example.contents using the method provided by search_key_generation_method. The generated search key will be included in retrieved examples.

Property Value
Type Description
string

SearchKeyGenerationMethod

public StoredContentsExample.Types.SearchKeyGenerationMethod SearchKeyGenerationMethod { get; set; }

Optional. The method used to generate the search key from contents_example.contents. This is ignored when uploading an example if search_key is provided.

Property Value
Type Description
StoredContentsExampleTypesSearchKeyGenerationMethod