# ModelSource

Nested in `DecisionMakerOptions`.

    enum ModelSource: Sendable, Equatable

Mutually exclusive source for the `.task`, `.tflite`, or `.litertlm` model asset.
- `
  ### [data(_:)](https://developers.google.com/edge/api/mediapipe/swift/decision/Enums/DecisionMakerOptions/ModelSource.md.txt#/s:22MediaPipeTasksDecision0D12MakerOptionsV11ModelSourceO4datayAE10Foundation4DataVcAEmF)

  ` In-memory model `Data` buffer.

  #### Declaration

  Swift

      case data(Data)

- `
  ### [filePath(_:)](https://developers.google.com/edge/api/mediapipe/swift/decision/Enums/DecisionMakerOptions/ModelSource.md.txt#/s:22MediaPipeTasksDecision0D12MakerOptionsV11ModelSourceO8filePathyAESScAEmF)

  ` Absolute filesystem path to the model bundle on disk.

  #### Declaration

  Swift

      case filePath(String)