> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# التضمينات

> استدعِ `/embeddings` باستخدام غلاف Go.

استخدم طريقة الغلاف:

* `client.GenerateEmbedding(ctx, req)`

```go theme={null}
import (
  "context"
  "fmt"
  phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go/v3"
)

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)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.