Merge pull request #2 from bnwlkr/master

Fix weird 'C' in CompletionResponse struct
This commit is contained in:
sashabaranov
2020-11-23 09:55:50 +03:00
committed by GitHub

View File

@@ -49,7 +49,7 @@ type CompletionResponse struct {
Object string `json:"object"` Object string `json:"object"`
Created uint64 `json:"created"` Created uint64 `json:"created"`
Model string `json:"model"` 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. // 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.