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
stringThe FoundationaLLM instance identifier.
conversationId
stringThe conversation identifier.
codeSessionId
stringThe code session unique identifier.
endpointProvider
stringThe code session provider.
endpoint
stringThe code session provider endpoint.
language
stringThe code session programming language.
userIdentity
UnifiedUserIdentityThe 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
Endpoint
Gets or sets the code session endpoint.
[JsonPropertyName("endpoint")]
[JsonPropertyOrder(2)]
public string Endpoint { get; set; }
Property Value
EndpointProvider
Gets or sets the code session provider name.
[JsonPropertyName("endpoint_provider")]
[JsonPropertyOrder(1)]
public string EndpointProvider { get; set; }
Property Value
Language
Gets or sets the code session programming language.
[JsonPropertyName("language")]
[JsonPropertyOrder(3)]
public string Language { get; set; }
Property Value
Type
Gets or sets the type of the context record.
[JsonPropertyName("type")]
[JsonPropertyOrder(-99)]
public override string Type { get; set; }