This commit is contained in:
c菌
2023-09-16 19:11:28 +08:00
parent d9ecd1ea74
commit 617485f7e2

View File

@@ -63,11 +63,11 @@ type MessageModule struct {
type CompleteRequest struct { type CompleteRequest struct {
Model string `json:"model,omitempty"` //* Model string `json:"model,omitempty"` //*
Prompt string `json:"prompt,omitempty"` //* Prompt string `json:"prompt,omitempty"` //*
MaxTokensToSample int `json:"max_Tokens_To_Sample,omitempty"` //* MaxTokensToSample int `json:"max_tokens_to_sample,omitempty"` //*
StopSequences string `json:"stop_Sequences,omitempty"` StopSequences string `json:"stop_Sequences,omitempty"`
Temperature int `json:"temperature,omitempty"` Temperature int `json:"temperature,omitempty"`
TopP int `json:"top_P,omitempty"` TopP int `json:"top_p,omitempty"`
TopK int `json:"top_K,omitempty"` TopK int `json:"top_k,omitempty"`
Stream bool `json:"stream,omitempty"` Stream bool `json:"stream,omitempty"`
Metadata struct { Metadata struct {
UserId string `json:"user_Id,omitempty"` UserId string `json:"user_Id,omitempty"`