From 9e0232f941a0f2c1780bf20743effd051a39e4d3 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 6 Nov 2023 12:27:08 -0800 Subject: [PATCH] Fix typo in README: AdaEmbeddingV2 (#516) Copy-pasting the old sample caused compilation errors --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b41947be..f0b60908 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