AiChat
StockSharp.Web.DomainModel
Represents a server-owned AI conversation and its isolated context.
继承自: BaseEntity
实现: IClientEntity, INameEntity
属性
AgentType
public AIAgentTypes AgentType { get; set; }
value = aiChat.AgentType
aiChat.AgentType = value
Gets or sets the AI provider family the whole conversation uses.
Channel
public AiGenerationChannels Channel { get; set; }
value = aiChat.Channel
aiChat.Channel = value
Gets or sets the channel policy used by the conversation.
Client
public Client Client { get; set; }
value = aiChat.Client
aiChat.Client = value
Gets or sets the owner whose balance pays for generation.
ExternalId
public string ExternalId { get; set; }
value = aiChat.ExternalId
aiChat.ExternalId = value
Gets or sets a trusted channel identifier such as Telegram chat and thread.
Messages
public BaseEntitySet<AiConversation> Messages { get; set; }
value = aiChat.Messages
aiChat.Messages = value
Gets or sets the turns of the conversation, each the generation that produced it.
Mode
public AiChatModes Mode { get; set; }
value = aiChat.Mode
aiChat.Mode = value
Gets or sets the server-owned workflow the whole conversation runs in.
Name
public string Name { get; set; }
value = aiChat.Name
aiChat.Name = value
Gets or sets the user-visible conversation name.
PolicyName
public string PolicyName { get; set; }
value = aiChat.PolicyName
aiChat.PolicyName = value
Gets or sets the public policy name without exposing its hidden prompt.
PolicyVersion
public string PolicyVersion { get; set; }
value = aiChat.PolicyVersion
aiChat.PolicyVersion = value
Gets or sets the policy version captured when the conversation was created.