sashabaranov/go-gpt3

OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go

GoMakefilegogolangopenaistreaming-apigpt-3dall-egpt-4openai-whisperchatgptchatgpt-api
This is stars and forks stats for /sashabaranov/go-gpt3 repository. As of 26 Apr, 2024 this repository has 6495 stars and 901 forks.

Go OpenAI This library provides unofficial Go clients for OpenAI API. We support: ChatGPT GPT-3, GPT-4 DALL·E 2 Whisper Installation go get github.com/sashabaranov/go-openai Currently, go-openai requires Go version 1.18 or greater. Usage ChatGPT example usage: package main import ( "context" "fmt" openai "github.com/sashabaranov/go-openai" ) func main() { client := openai.NewClient("your token") resp, err := client.CreateChatCompletion( context.Background(), openai.ChatCompletionRequest{ Model:...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
acikkaynak/deprem-yardim-backend-goGoOther2910630
openziti/zrokGoHTMLJavaScript1k0230
haskell-game/tiny-games-hsHaskellShellNix1450330
mrsimonemms/gitpod-self-hostedHCLShellMakefile67060
slippersheepig/chatgpt-htmlCSSJavaScriptHTML2180760
BlockchainCommons/Learning-Bitcoin-from-the-Command-LineJupyter NotebookCPython2.8k06800
privacycg/meetingsMakefile860210
kube-logging/helm-chartsSmartyMustacheMakefile60100
TheR1D/shell_gptPythonOther6.2k04460
Leizhenpeng/feishu-chatgptGoDockerfile4.9k08580