Skip to content

Commit 441d2d4

Browse files
committed
fix: implement new parameter fields
1 parent 2b6aeac commit 441d2d4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/Cnblogs.DashScope.Core/BatchGetEmbeddingsParameters.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
public class BatchGetEmbeddingsParameters : IBatchGetEmbeddingsParameters
77
{
88
/// <summary>
9-
/// Text type of input. Use <see cref="TextTypes"/> to get available options. Defaults to 'document'.
9+
/// Text type of input(ignored by v3). Use <see cref="TextTypes"/> to get available options. Defaults to 'document'.
1010
/// </summary>
1111
public string? TextType { get; set; }
12+
13+
/// <inheritdoc />
14+
public int? Dimension { get; set; }
15+
16+
/// <inheritdoc />
17+
public string? OutputType { get; set; }
1218
}

src/Cnblogs.DashScope.Core/TextEmbeddingParameters.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ public class TextEmbeddingParameters : ITextEmbeddingParameters
77
{
88
/// <inheritdoc />
99
public string? TextType { get; set; }
10+
11+
/// <inheritdoc />
12+
public int? Dimension { get; set; }
13+
14+
/// <inheritdoc />
15+
public string? OutputType { get; set; }
1016
}

0 commit comments

Comments
 (0)