GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore.fromJson constructor
GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore.fromJson(
core.Map json_,
) : this(
ragResources: (json_['ragResources'] as core.List?)
?.map(
(value) =>
GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
vectorDistanceThreshold: (json_['vectorDistanceThreshold'] as core.num?)
?.toDouble(),
);