Skip to content

LogWarningsOptions

Namespace: E2E.Decision.Sdk

public sealed record LogWarningsOptions : IEquatable<LogWarningsOptions>

What the warning logger receives (the options of the AI SDK’s LogWarningsFunction).

Inheritance: object

Implements: IEquatable<LogWarningsOptions>

View source

LogWarningsOptions(IReadOnlyList<string>, string?, string?)

Section titled “LogWarningsOptions(IReadOnlyList<string>, string?, string?)”
public LogWarningsOptions(IReadOnlyList<string> Warnings, string? Provider, string? Model)

What the warning logger receives (the options of the AI SDK’s LogWarningsFunction).

Parameters

Name Type Description
Warnings IReadOnlyList<string> The warnings the model provider returned.
Provider string The provider id used for the call.
Model string The model id used for the call.

public string? Model { get; init; }

The model id used for the call.

Value: string

public string? Provider { get; init; }

The provider id used for the call.

Value: string

public IReadOnlyList<string> Warnings { get; init; }

The warnings the model provider returned.

Value: IReadOnlyList<string>