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
Labelstringprovider:model, for the notes.ClientIChatClientThe client.
OwnedIDisposableDisposed 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
Owned
Disposed after the call when the scaffolder built it for this call.
public IDisposable? Owned { get; init; }
Property Value
Methods
Deconstruct(out string, out IChatClient, out IDisposable?)
public void Deconstruct(out string Label, out IChatClient Client, out IDisposable? Owned)
Parameters
LabelstringClientIChatClientOwnedIDisposable
Equals(ScaffoldModel?)
public bool Equals(ScaffoldModel? other)
Parameters
otherScaffoldModel
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ScaffoldModel?, ScaffoldModel?)
public static bool operator ==(ScaffoldModel? left, ScaffoldModel? right)
Parameters
leftScaffoldModelrightScaffoldModel
Returns
operator !=(ScaffoldModel?, ScaffoldModel?)
public static bool operator !=(ScaffoldModel? left, ScaffoldModel? right)
Parameters
leftScaffoldModelrightScaffoldModel