From 042eff08b406217a54b6e74a9cf97f012f3f1e12 Mon Sep 17 00:00:00 2001 From: bnwlkr Date: Sun, 22 Nov 2020 20:59:40 -0800 Subject: [PATCH] Fix weird 'C' in CompletionResponse struct --- completion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion.go b/completion.go index 556c7fe..b01b4c0 100644 --- a/completion.go +++ b/completion.go @@ -49,7 +49,7 @@ type CompletionResponse struct { Object string `json:"object"` Created uint64 `json:"created"` Model string `json:"model"` - Сhoices []Choice `json:"choices"` + Choices []Choice `json:"choices"` } // CreateCompletion — API call to create a completion. This is the main endpoint of the API. Returns new text as well as, if requested, the probabilities over each alternative token at each position.