Skip to content

Commit

Permalink
Fix typo in README: AdaEmbeddingV2 (#516)
Browse files Browse the repository at this point in the history
Copy-pasting the old sample caused compilation errors
  • Loading branch information
eliben authored Nov 6, 2023
1 parent 6c52952 commit 9e0232f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9e0232f

Please sign in to comment.