copyWithWrapped method

RAGIndexRequestModel copyWithWrapped({
  1. Wrapped<EmbeddingModelEnum>? model,
})

Implementation

RAGIndexRequestModel copyWithWrapped(
    {Wrapped<enums.EmbeddingModelEnum>? model}) {
  return RAGIndexRequestModel(
      model: (model != null ? model.value : this.model));
}