Class RagDataSchema (1.158.0)

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

The schema of the user specified metadata.

Attributes

Name Description
name str
Identifier. Resource name of the data schema in the form of: projects/{project_number}/locations/{location}/ragCorpora/{rag_corpus}/ragDataSchemas/{rag_data_schema} where the {rag_data_schema} part should be the same as the key field below.
key str
Required. The key of this data schema. This key should be matching the key of user specified metadata and unique inside corpus. This value can be up to 63 characters, and valid characters are /a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
schema_details google.cloud.aiplatform_v1beta1.types.RagMetadataSchemaDetails
The schema details mapping to the key.

Methods

RagDataSchema

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

The schema of the user specified metadata.