Table of Contents

Class ContextCodeSessionRecord

Namespace
FoundationaLLM.Common.Models.Context
Assembly
FoundationaLLM.Common.dll

Represents a file record.

public class ContextCodeSessionRecord : ContextRecord
Inheritance
ContextCodeSessionRecord
Inherited Members
Extension Methods

Constructors

ContextCodeSessionRecord()

Initializes a new instance of the ContextCodeSessionRecord class.

public ContextCodeSessionRecord()

ContextCodeSessionRecord(string, string, string, string, string, string, UnifiedUserIdentity)

Initializes a new instance of the ContextCodeSessionRecord class.

public ContextCodeSessionRecord(string instanceId, string conversationId, string codeSessionId, string endpointProvider, string endpoint, string language, UnifiedUserIdentity userIdentity)

Parameters

instanceId string

The FoundationaLLM instance identifier.

conversationId string

The conversation identifier.

codeSessionId string

The code session unique identifier.

endpointProvider string

The code session provider.

endpoint string

The code session provider endpoint.

language string

The code session programming language.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity providing details about the user identity.

Properties

ConversationId

Gets or sets the conversation identifier.

[JsonPropertyName("conversation_id")]
[JsonPropertyOrder(0)]
public string ConversationId { get; set; }

Property Value

string

Endpoint

Gets or sets the code session endpoint.

[JsonPropertyName("endpoint")]
[JsonPropertyOrder(2)]
public string Endpoint { get; set; }

Property Value

string

EndpointProvider

Gets or sets the code session provider name.

[JsonPropertyName("endpoint_provider")]
[JsonPropertyOrder(1)]
public string EndpointProvider { get; set; }

Property Value

string

Language

Gets or sets the code session programming language.

[JsonPropertyName("language")]
[JsonPropertyOrder(3)]
public string Language { get; set; }

Property Value

string

Type

Gets or sets the type of the context record.

[JsonPropertyName("type")]
[JsonPropertyOrder(-99)]
public override string Type { get; set; }

Property Value

string