Skip to content

TypeSafeAiFilePartProviderOptions

Namespace: E2E.Decision.Sdk.TypeSafeAi

public sealed class TypeSafeAiFilePartProviderOptions

The AI SDK’s typesafeAiFilePartProviderOptions: the typesafe options of an image file part.

Inheritance: object

View source

public bool? InsertReference { get; init; }

Whether to insert the reference into state at the file’s position. false sends the image only where you reference it in instructions or criteria. true inserts it even when the state already contains it. false requires an explicit Reference. Defaults to inserting the reference unless the state already contains it.

Value: bool?

public string? Reference { get; init; }

Asset reference for this image. Inserted into state at the file’s position unless the state already contains it. Every occurrence in state, instructions, or criteria sends another copy of the image. Defaults to a generated ID. References must be nonempty and unique within the request, and should not occur accidentally in other request text.

Value: string