@@ -21,15 +21,18 @@ import (
|
||||
|
||||
type (
|
||||
ChatCompletionRequest struct {
|
||||
Model string
|
||||
Messages []Message
|
||||
MaxTokens *int
|
||||
Temperature *float64
|
||||
TopP *float64
|
||||
StopSequences []string
|
||||
Tools []Tool
|
||||
ToolChoice *ToolChoice
|
||||
ResponseFormat *ResponseFormat
|
||||
Model string
|
||||
Messages []Message
|
||||
MaxTokens *int
|
||||
Temperature *float64
|
||||
TopP *float64
|
||||
FrequencyPenalty *float64
|
||||
PresencePenalty *float64
|
||||
StopSequences []string
|
||||
Tools []Tool
|
||||
ToolChoice *ToolChoice
|
||||
ParallelToolCalls *bool
|
||||
ResponseFormat *ResponseFormat
|
||||
}
|
||||
|
||||
ToolChoiceType string
|
||||
@@ -50,6 +53,7 @@ type (
|
||||
Name string
|
||||
Description string
|
||||
Schema json.RawMessage
|
||||
Strict bool
|
||||
}
|
||||
|
||||
FinishReason string
|
||||
|
||||
Reference in New Issue
Block a user