Output only. timestamp when this Example was created.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
example_type
Union type
The type of the example. Each example type has a defined format example_type can be only one of the following:
An example of chat history and its expected outcome to be used with GenerateContent.
JSON representation
{"displayName": string,"exampleId": string,"createTime": string,// example_type"storedContentsExample": {object (StoredContentsExample)}// Union type}
StoredContentsExample
A ContentsExample to be used with GenerateContent alongside information required for storage and retrieval with Example Store.
Fields
searchKey
string
Optional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from contentsExample.contents using the method provided by searchKeyGenerationMethod. The generated search key will be included in retrieved examples.
Optional. The method used to generate the search key from contentsExample.contents. This is ignored when uploading an example if searchKey is provided.
Required. The expected output for the given contents. To represent multi-step reasoning, this is a repeated field that contains the iterative steps of the expected output.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Example\n\nFields `displayName` `string` \nOptional. The display name for Example.\n`exampleId` `string` \nOptional. Immutable. Unique identifier of an example. If not specified when upserting new examples, the exampleId will be generated.\n`createTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nOutput only. timestamp when this Example was created.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. \n`example_type` `Union type` \nThe type of the example. Each example type has a defined format `example_type` can be only one of the following:\n`storedContentsExample` `object (`[StoredContentsExample](/vertex-ai/docs/reference/rest/v1beta1/Example#StoredContentsExample)`)` \nAn example of chat history and its expected outcome to be used with GenerateContent. \n\nStoredContentsExample\n---------------------\n\nA ContentsExample to be used with GenerateContent alongside information required for storage and retrieval with Example Store.\nFields `searchKey` `string` \nOptional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from `contentsExample.contents` using the method provided by `searchKeyGenerationMethod`. The generated search key will be included in retrieved examples.\n`contentsExample` `object (`[ContentsExample](/vertex-ai/docs/reference/rest/v1beta1/Example#ContentsExample)`)` \nRequired. The example to be used with GenerateContent.\n`searchKeyGenerationMethod` `object (`[SearchKeyGenerationMethod](/vertex-ai/docs/reference/rest/v1beta1/SearchKeyGenerationMethod)`)` \nOptional. The method used to generate the search key from `contentsExample.contents`. This is ignored when uploading an example if `searchKey` is provided. \n\nContentsExample\n---------------\n\nA single example of a conversation with the model.\nFields `contents[]` `object (`[Content](/vertex-ai/docs/reference/rest/v1beta1/Content)`)` \nRequired. The content of the conversation with the model that resulted in the expected output.\n`expectedContents[]` `object (`[ExpectedContent](/vertex-ai/docs/reference/rest/v1beta1/Example#ExpectedContent)`)` \nRequired. The expected output for the given `contents`. To represent multi-step reasoning, this is a repeated field that contains the iterative steps of the expected output. \n\nExpectedContent\n---------------\n\nA single step of the expected output.\nFields `content` `object (`[Content](/vertex-ai/docs/reference/rest/v1beta1/Content)`)` \nRequired. A single step's content."]]