Installation
Quick Start
What’s Next?
- Configuration - Learn how to configure and instantiate the SDK
- Send Method - Complete guide to the
Send()method - Stream Method - Learn how to stream responses
- Tools - Detailed guide to function calling
Integrate the Go SDK in your application.
go get github.com/edgee-ai/go-sdk
package main
import (
"fmt"
"log"
"github.com/edgee-ai/go-sdk/edgee"
)
func main() {
client, _ := edgee.NewClient("your-api-key")
response, err := client.Send("gpt-4o", "What is the capital of France?")
if err != nil {
log.Fatal(err)
}
fmt.Println(response.Text())
// "The capital of France is Paris."
}
Send() methodWas this page helpful?