Record
public record AiContextScope : System.IEquatable<Moka.Blazor.AI.Models.AiContextScope>

Namespace: Moka.Blazor.AI.Models

Represents a named scope entry for focused context building.

Inheritance

Implements: System.IEquatable<Moka.Blazor.AI.Models.AiContextScope>

Constructors

NameDescription
AiContextScope(…) Represents a named scope entry for focused context building.

AiContextScope(string Key, object? Data, string? Label)

AiContextScope.AiContextScope(string Key, object? Data, string? Label = null)

Represents a named scope entry for focused context building.

Parameters

NameTypeDescription
KeystringScope identifier (e.g. "path", "selection", "object").
Dataobject?Scope data whose type depends on the context builder implementation.
Labelstring?Optional human-readable label for display purposes.

Properties

NameDescription
Data Scope data whose type depends on the context builder implementation.
Key Scope identifier (e.g. "path", "selection", "object").
Label Optional human-readable label for display purposes.

Data

object? AiContextScope.Data { get; init; }

Scope data whose type depends on the context builder implementation.

Key

string AiContextScope.Key { get; init; }

Scope identifier (e.g. "path", "selection", "object").

Label

string? AiContextScope.Label { get; init; }

Optional human-readable label for display purposes.

Type Relationships
classDiagram
                    style AiContextScope fill:#f9f,stroke:#333,stroke-width:2px
                    AiContextScope ..|> AiContextScope~ : implements
                
View Source
/// <summary>
///     Represents a named scope entry for focused context building.
/// </summary>
/// <param name = "Key">Scope identifier (e.g. "path", "selection", "object").</param>
/// <param name = "Data">Scope data whose type depends on the context builder implementation.</param>
/// <param name = "Label">Optional human-readable label for display purposes.</param>
public sealed record AiContextScope(string Key, object? Data, string? Label = null);
Was this page helpful?