client.GenerateEmbedding(ctx, req)
Specialised
Embeddings
Call /embeddings with the Go wrapper.
Use the wrapper method:
Last modified on July 26, 2026
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Call /embeddings with the Go wrapper.
client.GenerateEmbedding(ctx, req)import (
"context"
"fmt"
phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go/v2"
)
client := phaseo.New(apiKey, "https://api.phaseo.app/v1")
resp, err := client.GenerateEmbedding(context.Background(), map[string]interface{}{
"model": "openai/text-embedding-3-large",
"input": "sample text",
})
if err != nil {
panic(err)
}
fmt.Println(resp)
Was this page helpful?