From 42cfe7bff6edacb463da27a717d53619ff3fe11f Mon Sep 17 00:00:00 2001 From: Alexander Baranov Date: Wed, 2 Sep 2020 20:46:11 +0300 Subject: [PATCH] Fix typo in docs --- completion.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion.go b/completion.go index 4e1cac5..556c7fe 100644 --- a/completion.go +++ b/completion.go @@ -8,7 +8,7 @@ import ( "net/http" ) -// CompletionRequest represents a request structure for competion API +// CompletionRequest represents a request structure for completion API type CompletionRequest struct { Prompt string `json:"prompt,omitempty"` MaxTokens int `json:"max_tokens,omitempty"` @@ -43,7 +43,7 @@ type LogprobResult struct { TextOffset []int `json:"text_offset"` } -// CompletionResponse represents a response structure for competion API +// CompletionResponse represents a response structure for completion API type CompletionResponse struct { ID string `json:"id"` Object string `json:"object"`