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
instanceIdstringThe FoundationaLLM instance identifier.
conversationIdstringThe conversation identifier.
codeSessionIdstringThe code session unique identifier.
endpointProviderstringThe code session provider.
endpointstringThe code session provider endpoint.
languagestringThe code session programming language.
userIdentityUnifiedUserIdentityThe 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; }