๐ŸŒ
GitHub
github.com โ€บ anthropics โ€บ anthropic-sdk-go
GitHub - anthropics/anthropic-sdk-go: Access to Anthropic's safety-first language model APIs via Go
The Anthropic Go library provides convenient access to the Anthropic REST API from applications written in Go.
Starred by 650 users
Forked by 81 users
Languages ย  Go
๐ŸŒ
Claude Docs
platform.claude.com โ€บ docs โ€บ en โ€บ api โ€บ client-sdks
Client SDKs - Claude Docs
This page includes brief installation instructions and links to the open-source GitHub repositories for Anthropic's Client SDKs.
๐ŸŒ
Go Packages
pkg.go.dev โ€บ github.com โ€บ adamchol โ€บ go-anthropic-sdk
anthropic package - github.com/adamchol/go-anthropic-sdk - Go Packages
August 11, 2024 - package main import ( "context" "fmt" anthropic "github.com/adamchol/go-anthropic-sdk" ) func main() { client := anthropic.NewClient("your-token") resp, err := client.CreateMessage(context.Background(), anthropic.MessageRequest{ Model: anthropic.Claude35SonnetModel, Messages: []anthropic.InputMessage{ { Role: anthropic.MessageRoleUser, Content: "Hello, how are you?", }, }, MaxTokens: 4096, }) if err != nil { fmt.Println(err) } fmt.Println(resp.Content[0].Text) }
๐ŸŒ
GitHub
github.com โ€บ liushuangls โ€บ go-anthropic
GitHub - liushuangls/go-anthropic: Anthropic Claude API wrapper for Go
Anthropic Claude API wrapper for Go (Unofficial).
Starred by 161 users
Forked by 24 users
Languages ย  Go
๐ŸŒ
GitHub
github.com โ€บ unfunco โ€บ anthropic-sdk-go
GitHub - unfunco/anthropic-sdk-go: Go client library for interacting with the Anthropic safety-first language model REST APIs.
Go client library for interacting with the Anthropic safety-first language model REST APIs. - unfunco/anthropic-sdk-go
Author ย  unfunco
๐ŸŒ
Go Packages
pkg.go.dev โ€บ github.com โ€บ anthropics โ€บ anthropic-sdk-go โ€บ option
option package - github.com/anthropics/anthropic-sdk-go/option - Go Packages
RequestOption is an option for the requests made by the anthropic API Client which can be supplied to clients, services, and methods.
๐ŸŒ
DEV Community
dev.to โ€บ aws โ€บ use-anthropic-claude-3-models-to-build-generative-ai-applications-with-go-11dd
Use Anthropic Claude 3 models to build generative AI applications with Go - DEV Community
May 14, 2024 - msg := "Hello, what's your name?" payload := Claude3Request{ AnthropicVersion: "bedrock-2023-05-31", MaxTokens: 1024, Messages: []Message{ { Role: "user", Content: []Content{ { Type: "text", Text: msg, }, }, }, }, } payloadBytes, err := json.Marshal(payload)
Find elsewhere
๐ŸŒ
Go Packages
pkg.go.dev โ€บ github.com โ€บ liushuangls โ€บ go-anthropic
anthropic package - github.com/liushuangls/go-anthropic - Go Packages
March 26, 2024 - package main import ( "errors" "fmt" "github.com/liushuangls/go-anthropic" ) func main() { client := anthropic.NewClient("your anthropic apikey") resp, err := client.CreateMessagesStream(context.Background(), anthropic.MessagesStreamRequest{ MessagesRequest: anthropic.MessagesRequest{ Model: anthropic.ModelClaudeInstant1Dot2, Messages: []anthropic.Message{ anthropic.NewUserTextMessage("What is your name?"), }, MaxTokens: 1000, }, OnContentBlockDelta: func(data anthropic.MessagesEventContentBlockDeltaData) { fmt.Printf("Stream Content: %s\n", data.Delta.Text) }, }) if err != nil { var e *anthropic.APIError if errors.As(err, &e) { fmt.Printf("Messages stream error, type: %s, message: %s", e.Type, e.Message) } else { fmt.Printf("Messages stream error: %v\n", err) } return } fmt.Println(resp.Content[0].Text) }
๐ŸŒ
Anthropic
anthropic.com โ€บ api
Claude Developer Platform
Use our API to create new user experiences, products, and ways to work with the most advanced AI models on the market.
๐ŸŒ
Codingmall
codingmall.com โ€บ knowledge-base โ€บ 25-global โ€บ 1558-anthropic-package-for-go
Anthropic Package for Go: Integration with Claude API
At CodingMall.com we provide Joomla extensions, components, WordPress Plugins, SEO and customized web development solutions.
๐ŸŒ
DZone
dzone.com โ€บ data engineering โ€บ ai/ml โ€บ use anthropic claude 3 models to build generative ai applications with go
Use Anthropic Claude 3 Models With Go
May 14, 2024 - msg := "Hello, what's your name?" payload := Claude3Request{ AnthropicVersion: "bedrock-2023-05-31", MaxTokens: 1024, Messages: []Message{ { Role: "user", Content: []Content{ { Type: "text", Text: msg, }, }, }, }, } payloadBytes, err := json.Marshal(payload)
๐ŸŒ
Claude
docs.claude.com โ€บ en โ€บ release-notes โ€บ api
Follow along with updates across Anthropic's ...
Generate outputs up to 8,192 tokens in length from Claude Sonnet 3.5 with the new anthropic-beta: max-tokens-3-5-sonnet-2024-07-15 header.
๐ŸŒ
Reddit
reddit.com โ€บ r/golang โ€บ go client for anthropic ai's api w/ support for streaming completions
r/golang on Reddit: Go Client for Anthropic AI's API w/ support for streaming completions
May 23, 2022 - 278K subscribers in the golang community. Ask questions and post articles about the Go programming language and related tools, events etc.
๐ŸŒ
GitHub
github.com โ€บ madebywelch โ€บ anthropic-go
GitHub - madebywelch/anthropic-go: Go SDK for Anthropic's Claude, a next-generation AI assistant for your tasks, no matter the scale.
Go SDK for Anthropic's Claude, a next-generation AI assistant for your tasks, no matter the scale. - madebywelch/anthropic-go
Starred by 36 users
Forked by 18 users
Languages ย  Go
๐ŸŒ
GitHub
github.com โ€บ 3JoB โ€บ anthropic-sdk-go
GitHub - 3JoB/anthropic-sdk-go: (Need to be maintained) Golang SDK for AnthRopic Claude AI. Provide complete encapsulated interfaces that are easy to quickly get started with.
May 20, 2024 - (Need to be maintained) Golang SDK for AnthRopic Claude AI. Provide complete encapsulated interfaces that are easy to quickly get started with. - 3JoB/anthropic-sdk-go
Starred by 38 users
Forked by 6 users
Languages ย  Go