Skip to content

SystemOneRequest

Namespace: TypeSafe.AI.Sdk

public sealed class SystemOneRequest

State and named questions for CancellationToken).

Inheritance: object

View source

public IDictionary<string, Image>? Assets { get; set; }

Images keyed by a reference of your choice, to reference them from plain strings such as prompts stored in configuration. Every name must appear in the request; otherwise the call throws before sending. An image that is also placed in content or in TextWithAssets is written there as its name. Image support is experimental; see Image.

Value: IDictionary<string, Image>

View source

public IDictionary<string, object?>? Extra { get; set; }

Additional properties forwarded on the wire, including null values. Matches the JS SDK’s extra-field forwarding.

Value: IDictionary<string, object>

View source

public string? Model { get; set; }

Model override; omitted values inherit the client defaultModel.

Value: string

View source

public IDictionary<string, Question> Questions { get; set; }

Nonempty questions keyed by the names used to identify their answers.

Value: IDictionary<string, Question>

View source

public object? State { get; set; }

Text, a JSON object or array, an Image, or null to evaluate.

Value: object

View source

MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API