toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (ragManagedDb != null) 'ragManagedDb': ragManagedDb!.toJson(),
  if (weaviate != null) 'weaviate': weaviate!.toJson(),
  if (pinecone != null) 'pinecone': pinecone!.toJson(),
  if (vertexFeatureStore != null)
    'vertexFeatureStore': vertexFeatureStore!.toJson(),
  if (vertexVectorSearch != null)
    'vertexVectorSearch': vertexVectorSearch!.toJson(),
  if (apiAuth != null) 'apiAuth': apiAuth!.toJson(),
  if (ragEmbeddingModelConfig != null)
    'ragEmbeddingModelConfig': ragEmbeddingModelConfig!.toJson(),
};