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>
Constructors
Section titled “Constructors”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. |
Properties
Section titled “Properties”public string? Model { get; init; }The model id used for the call.
Value: string
Provider
Section titled “Provider”public string? Provider { get; init; }The provider id used for the call.
Value: string
Warnings
Section titled “Warnings”public IReadOnlyList<string> Warnings { get; init; }The warnings the model provider returned.
Value: IReadOnlyList<string>