GitHub
github.com › sashabaranov › go-openai
GitHub - sashabaranov/go-openai: OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go
OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go - sashabaranov/go-openai
Starred by 10.5K users
Forked by 1.7K users
Languages Go
Go Packages
pkg.go.dev › github.com › ayush6624 › go-chatgpt
chatgpt package - github.com/ayush6624/go-chatgpt - Go Packages
To use a custom model/parameters, use the Send API. ctx := context.Background() res, err = c.Send(ctx, &chatgpt.ChatCompletionRequest{ Model: chatgpt.GPT35Turbo, Messages: []chatgpt.ChatMessage{ { Role: chatgpt.ChatGPTModelRoleSystem, Content: "Hey, Explain GoLang to me in 2 sentences.", }, }, }) if err != nil { // handle error }
Videos
Pipedream
pipedream.com › apps › openai › integrations › go
Integrate the OpenAI (ChatGPT) API with the Go API - Pipedream
import { axios } from "@pipedream/platform" export default defineComponent({ props: { openai: { type: "app", app: "openai", } }, async run({steps, $}) { return await axios($, { url: `https://api.openai.com/v1/models`, headers: { Authorization: `Bearer ${this.openai.$auth.api_key}`, }, }) }, })
GitHub
github.com › kkdai › chatgpt
GitHub - kkdai/chatgpt: ChatGPT Console client in Golang
A Golang console client for ChatGPT (https://chat.openai.com) using GPT · go get -u -x github.com/kkdai/chatgpt · Request your OpenAPI key in https://beta.openai.com/account/api-keys · export API_KEY=YOUR_KEY chatgpt · Please open up an issue on GitHub before you put a lot efforts on pull request.
Starred by 247 users
Forked by 44 users
Languages Go
GitHub
github.com › chatgp › chatgpt-go
GitHub - all-in-aigc/chatgpt-webapi: chatgpt go sdk
package main import ( "log" "net/http" "time" chatgpt "github.com/chatgp/chatgpt-go" ) func main() { // new chatgpt client token := `copy-from-cookies` cfValue := "copy-from-cookies" cookies := []*http.Cookie{ { Name: "__Secure-next-auth.session-token", Value: token, }, { Name: "cf_clearance", Value: cfValue, }, } cli := chatgpt.NewClient( chatgpt.WithDebug(true), chatgpt.WithTimeout(60*time.Second), chatgpt.WithCookies(cookies), ) // chat in continuous conversation // first message message := "say hello to me" text, err := cli.GetChatText(message) if err != nil { log.Fatalf("get chat text fai
Starred by 159 users
Forked by 25 users
Languages Go
YouTube
youtube.com › grow adept
Put the Power of ChatGPT in Your Golang Apps - Golang Projects - YouTube
https://www.buymeacoffee.com/GrowAdepthttps://github.com/GrowAdept/youtubeWelcome, in this tutorial we are going to use ChatGPT to write code and create a Go
Published March 7, 2023 Views 3K
Go Packages
pkg.go.dev › github.com › golang-infrastructure › go-ChatGPT
chatgpt package - github.com/golang-infrastructure/go-ChatGPT - Go Packages
github.com/golang-infrastructure/go-ChatGPT · Open Source Insights · 这是一个ChatGPT的Golang API库,让你能够把ChatGPT集成到你的Go应用中,注意这是基于逆向工程实现的并不是一个官方库。 · 优势: · 只需要提供自己的JWT就能够像在网页...
YouTube
youtube.com › watch
Go and OpenAI: A Beginner’s Guide to Building AI-Powered Apps - YouTube
#golang #chatgpt #openai #chatgptapi #ai #golangapiIn this tutorial we're going to create a Golang service that communicates with Chat GPT API. After watchin...
Published April 12, 2024
GitHub
github.com › ayush6624 › go-chatgpt
GitHub - ayush6624/go-chatgpt: Open-source GoLang client for ChatGPT
To use a custom model/parameters, use the Send API. ctx := context.Background() res, err = c.Send(ctx, &chatgpt.ChatCompletionRequest{ Model: chatgpt.GPT35Turbo, Messages: []chatgpt.ChatMessage{ { Role: chatgpt.ChatGPTModelRoleSystem, Content: "Hey, Explain GoLang to me in 2 sentences.", }, }, }) if err != nil { // handle error }
Starred by 28 users
Forked by 13 users
Languages Go
YouTube
youtube.com › akhil sharma
Chat GPT GOlang Project BUILD - YouTube
💪 Buy my awesome golang course - hhttps://akhilsharmatech.gumroad.com/l/zgxqq👊 Join my FREE discord community to learn new technologies - https://discord....
Published January 18, 2023 Views 12K
GitHub
github.com › fengxxc › go-chatgpt
GitHub - fengxxc/go-chatgpt: a ChatGPT API client based on the Go
a ChatGPT API client based on the Go. Contribute to fengxxc/go-chatgpt development by creating an account on GitHub.
Author fengxxc