AiGenerationResult
StockSharp.Web.DomainModel
Contains a trusted terminal result uploaded by the AI server.
Implementa: IPersistable
Propriedades
AgentType
public AIAgentTypes? AgentType { get; set; }
value = aiGenerationResult.AgentType
aiGenerationResult.AgentType = value
Gets or sets the provider family that produced the generation, whose prices it is charged at.
ClientId
public long ClientId { get; set; }
value = aiGenerationResult.ClientId
aiGenerationResult.ClientId = value
Gets or sets the paying client identifier received with the server request.
Context
public long[] Context { get; set; }
value = aiGenerationResult.Context
aiGenerationResult.Context = value
Gets or sets the existing result context.
ErrorCode
public string ErrorCode { get; set; }
value = aiGenerationResult.ErrorCode
aiGenerationResult.ErrorCode = value
Gets or sets a safe public error code.
Model
public string Model { get; set; }
value = aiGenerationResult.Model
aiGenerationResult.Model = value
Gets or sets the provider-reported model.
ProviderRequestId
public string ProviderRequestId { get; set; }
value = aiGenerationResult.ProviderRequestId
aiGenerationResult.ProviderRequestId = value
Gets or sets the provider request identifier used for diagnostics.
RequestId
public Guid RequestId { get; set; }
value = aiGenerationResult.RequestId
aiGenerationResult.RequestId = value
Gets or sets the deterministic generation request identifier.
Result
public string Result { get; set; }
value = aiGenerationResult.Result
aiGenerationResult.Result = value
Gets or sets the safe result delivered to the client.
State
public AiGenerationResultStates State { get; set; }
value = aiGenerationResult.State
aiGenerationResult.State = value
Gets or sets the terminal generation state.
Usage
public AiTokenUsage Usage { get; set; }
value = aiGenerationResult.Usage
aiGenerationResult.Usage = value
Gets or sets trusted normalized provider usage.