GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample.fromJson constructor
GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample.fromJson(
core.Map json_,
) : this(
conversationSource: json_.containsKey('conversationSource')
? GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource.fromJson(
json_['conversationSource']
as core.Map<core.String, core.dynamic>,
)
: null,
generatedMemories: (json_['generatedMemories'] as core.List?)
?.map(
(value) =>
GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);