Class ScaffoldModel

Namespace
Kuestenlogik.Bowire.Ai
Assembly
Kuestenlogik.Bowire.Ai.dll

A model the scaffolder may ask, in the order it asks them.

public sealed record ScaffoldModel : IEquatable<ScaffoldModel>
Inheritance
ScaffoldModel
Implements
Inherited Members

Constructors

ScaffoldModel(string, IChatClient, IDisposable?)

A model the scaffolder may ask, in the order it asks them.

public ScaffoldModel(string Label, IChatClient Client, IDisposable? Owned = null)

Parameters

Label string

provider:model, for the notes.

Client IChatClient

The client.

Owned IDisposable

Disposed after the call when the scaffolder built it for this call.

Properties

Client

The client.

public IChatClient Client { get; init; }

Property Value

IChatClient

Label

provider:model, for the notes.

public string Label { get; init; }

Property Value

string

Owned

Disposed after the call when the scaffolder built it for this call.

public IDisposable? Owned { get; init; }

Property Value

IDisposable

Methods

Deconstruct(out string, out IChatClient, out IDisposable?)

public void Deconstruct(out string Label, out IChatClient Client, out IDisposable? Owned)

Parameters

Label string
Client IChatClient
Owned IDisposable

Equals(ScaffoldModel?)

public bool Equals(ScaffoldModel? other)

Parameters

other ScaffoldModel

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ScaffoldModel?, ScaffoldModel?)

public static bool operator ==(ScaffoldModel? left, ScaffoldModel? right)

Parameters

left ScaffoldModel
right ScaffoldModel

Returns

bool

operator !=(ScaffoldModel?, ScaffoldModel?)

public static bool operator !=(ScaffoldModel? left, ScaffoldModel? right)

Parameters

left ScaffoldModel
right ScaffoldModel

Returns

bool