Skip to content

DecisionFileUrlPart

Namespace: E2E.Decision.Sdk

public sealed record DecisionFileUrlPart : DecisionStatePart, IEquatable<DecisionStatePart>, IEquatable<DecisionFileUrlPart>

A file at a URL (the AI SDK’s FilePart with URL data). ExperimentalDecide downloads it through ExperimentalDownload and hands the model a DecisionFilePart with the bytes. .NET-only name: C# has no union of bytes and a URL, so the URL form is its own part.

Inheritance: object → DecisionStatePart

Implements: IEquatable<DecisionStatePart>, IEquatable<DecisionFileUrlPart>

View source

public DecisionFileUrlPart(string MediaType, Uri Url)

A file at a URL (the AI SDK’s FilePart with URL data). ExperimentalDecide downloads it through ExperimentalDownload and hands the model a DecisionFilePart with the bytes. .NET-only name: C# has no union of bytes and a URL, so the URL form is its own part.

Parameters

Name Type Description
MediaType string
Url Uri

public string MediaType { get; init; }

Value: string

public Uri Url { get; init; }

Value: Uri