diff --git a/completions/completions_test.go b/completions/completions_test.go index 3e6612a..73e0900 100644 --- a/completions/completions_test.go +++ b/completions/completions_test.go @@ -21,10 +21,9 @@ func TestCompletions(t *testing.T) { Model: "gpt-3.5-turbo-instruct", Prompt: []string{"So long, and thanks for all the"}, MaxTokens: 5, - Echo: true, + Echo: false, PresencePenalty: 0.0, FrequencyPenalty: 0.0, - BestOf: nil, User: "https://github.com/Kardbord/gopenai", }, nil) if err != nil { diff --git a/examples/completions/completions-example.go b/examples/completions/completions-example.go index cd338ce..331d148 100644 --- a/examples/completions/completions-example.go +++ b/examples/completions/completions-example.go @@ -19,13 +19,12 @@ func init() { func main() { prompt := "So long, and thanks for all the" resp, _, err := completions.MakeModeratedRequest(&completions.Request{ - Model: "text-ada-001", + Model: "gpt-3.5-turbo-instruct", Prompt: []string{prompt}, MaxTokens: 5, - Echo: true, + Echo: false, PresencePenalty: 0.0, FrequencyPenalty: 0.0, - BestOf: nil, User: "https://github.com/Kardbord/gopenai", }, nil) if err != nil {