diff --git a/README.md b/README.md index b41947be5..f0b609088 100644 --- a/README.md +++ b/README.md @@ -502,7 +502,7 @@ func main() { // Create an EmbeddingRequest for the user query queryReq := openai.EmbeddingRequest{ Input: []string{"How many chucks would a woodchuck chuck"}, - Model: openai.AdaEmbeddingv2, + Model: openai.AdaEmbeddingV2, } // Create an embedding for the user query @@ -514,7 +514,7 @@ func main() { // Create an EmbeddingRequest for the target text targetReq := openai.EmbeddingRequest{ Input: []string{"How many chucks would a woodchuck chuck if the woodchuck could chuck wood"}, - Model: openai.AdaEmbeddingv2, + Model: openai.AdaEmbeddingV2, } // Create an embedding for the target text