logit_bias field added to the completion request (#14)
This commit is contained in:
committed by
GitHub
parent
7ff9fedf93
commit
eecd212963
@@ -28,6 +28,7 @@ type CompletionRequest struct {
|
||||
PresencePenalty float32 `json:"presence_penalty,omitempty"`
|
||||
FrequencyPenalty float32 `json:"frequency_penalty,omitempty"`
|
||||
BestOf int `json:"best_of,omitempty"`
|
||||
LogitBias map[string]int `json:"logit_bias,omitempty"`
|
||||
}
|
||||
|
||||
// Choice represents one of possible completions
|
||||
|
||||
Reference in New Issue
Block a user