fix typos ...

This commit is contained in:
2026-09-19 12:14:44 +03:30
parent 74357567eb
commit ae2713eddd
6 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -51,7 +51,7 @@ namespace xAiApi.Providers
/// <param name="content"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public virtual async Task<float[]> Embeding(
public virtual async Task<float[]> Embedding(
string content,
CancellationToken cancellationToken = default
)
@@ -68,7 +68,7 @@ namespace xAiApi.Providers
using var client = GetEmbeddingClient();
//
// Create Embeding Request ....
// Create Embedding Request ....
var request = new EmbedRequest
{
Input = [content],
@@ -111,7 +111,7 @@ namespace xAiApi.Providers
/// <param name="batch"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public virtual async Task<IReadOnlyList<float[]>> Embedings(
public virtual async Task<IReadOnlyList<float[]>> Embeddings(
string[] batch,
CancellationToken cancellationToken = default
)
@@ -130,7 +130,7 @@ namespace xAiApi.Providers
using var client = GetEmbeddingClient();
//
// Create Embeding Request ....
// Create Embedding Request ....
var request = new EmbedRequest
{
Input = [.. batch],