fix typos ...
This commit is contained in:
@@ -16,7 +16,7 @@ namespace xAiApi.Interfaces
|
||||
/// <param name="content"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<float[]> Embeding(
|
||||
Task<float[]> Embedding(
|
||||
string content,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
@@ -27,7 +27,7 @@ namespace xAiApi.Interfaces
|
||||
/// <param name="batch"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<float[]>> Embedings(
|
||||
Task<IReadOnlyList<float[]>> Embeddings(
|
||||
string[] batch,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
@@ -13,8 +13,8 @@ namespace xAiApi.Interfaces
|
||||
/// <param name="content"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("Embeding")]
|
||||
Task<ActionResult<float[]>> Embeding(
|
||||
[HttpGet("Embedding")]
|
||||
Task<ActionResult<float[]>> Embedding(
|
||||
[FromQuery] string content,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
@@ -25,8 +25,8 @@ namespace xAiApi.Interfaces
|
||||
/// <param name="batch"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("Embedings")]
|
||||
Task<ActionResult<IReadOnlyList<float[]>>> Embedings(
|
||||
[HttpGet("Embeddings")]
|
||||
Task<ActionResult<IReadOnlyList<float[]>>> Embeddings(
|
||||
[FromQuery] string[] batch,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user