Skip to content

Commit

Permalink
docs(readme): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
solywsh committed Mar 28, 2023
1 parent 5099e01 commit af8b147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# chatgpt

> chartgpt client for golang
# chatgpt(use gpt3)
**Note**: Since openai released the api for chatgpt, it means that this repository is no longer of any practical use. If you wish to find a suitable package, you may consider this repository:https://github.com/sashabaranov/go-openai
## Usege

Download the package first:
Expand Down
1 change: 1 addition & 0 deletions chatgpt.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func New(ApiKey, UserId string, timeOut time.Duration) *ChatGPT {
ChatContext: NewContext(),
}
}

func (c *ChatGPT) Close() {
c.cancel()
}
Expand Down

0 comments on commit af8b147

Please sign in to comment.