> ## 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 باستخدام SDK C#.

**الطريقة**: `client.CreateEmbedding(...)`

### مثال

```csharp theme={null}
using PhaseoSdk;

var client = new Phaseo(apiKey);
var response = await client.CreateEmbedding(new Dictionary<string, object>
{
    ["model"] = "openai/text-embedding-3-large",
    ["input"] = "Sample text"
});
```

### المعلمات الأساسية

* `model` (مطلوب): معرّف نموذج التضمينات (مثل `openai/text-embedding-3-large`).
* `input` (مطلوب): سلسلة نصية أو مصفوفة من السلاسل.
* `encoding_format`: ‏`float` (الافتراضي) أو `base64`.
* `dimensions`: عدد صحيح اختياري لاقتطاع طول التضمين (يعتمد على النموذج).
* `user`: وسم اختياري للمستخدم النهائي.

### القيمة المعادة

محتوى التضمينات (JSON)


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