Update README.md
This commit is contained in:
@@ -30,7 +30,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
client := openai.NewClient("your token")
|
client := openai.NewClient("your token")
|
||||||
resp, err := c.CreateChatCompletion(
|
resp, err := client.CreateChatCompletion(
|
||||||
context.Background(),
|
context.Background(),
|
||||||
openai.ChatCompletionRequest{
|
openai.ChatCompletionRequest{
|
||||||
Model: openai.GPT3Dot5Turbo,
|
Model: openai.GPT3Dot5Turbo,
|
||||||
|
|||||||
Reference in New Issue
Block a user