fix typos ...
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user