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>
Constructors
Section titled “Constructors”DecisionFileUrlPart(string, Uri)
Section titled “DecisionFileUrlPart(string, Uri)”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 |
Properties
Section titled “Properties”MediaType
Section titled “MediaType”public string MediaType { get; init; }Value: string
public Uri Url { get; init; }Value: Uri