Class ChatCompletionRequest
- Namespace
- AutoGen.Anthropic.DTO
- Assembly
- AutoGen.Anthropic.dll
public class ChatCompletionRequest
- Inheritance
-
ChatCompletionRequest
- Inherited Members
-
Constructors
ChatCompletionRequest()
public ChatCompletionRequest()
Properties
MaxTokens
[JsonPropertyName("max_tokens")]
public int MaxTokens { get; set; }
Property Value
- int
Messages
[JsonPropertyName("messages")]
public List<ChatMessage> Messages { get; set; }
Property Value
- List<ChatMessage>
[JsonPropertyName("metadata")]
public object? Metadata { get; set; }
Property Value
- object
Model
[JsonPropertyName("model")]
public string? Model { get; set; }
Property Value
- string
StopSequences
[JsonPropertyName("stop_sequences")]
public string[]? StopSequences { get; set; }
Property Value
- string[]
Stream
[JsonPropertyName("stream")]
public bool? Stream { get; set; }
Property Value
- bool?
SystemMessage
[JsonPropertyName("system")]
public SystemMessage[]? SystemMessage { get; set; }
Property Value
- SystemMessage[]
Temperature
[JsonPropertyName("temperature")]
public decimal? Temperature { get; set; }
Property Value
- decimal?
[JsonPropertyName("tool_choice")]
public ToolChoice? ToolChoice { get; set; }
Property Value
- ToolChoice
[JsonPropertyName("tools")]
public List<Tool>? Tools { get; set; }
Property Value
- List<Tool>
TopK
[JsonPropertyName("top_k")]
public int? TopK { get; set; }
Property Value
- int?
TopP
[JsonPropertyName("top_p")]
public decimal? TopP { get; set; }
Property Value
- decimal?