Skip to content

Commit 88ffff4

Browse files
committed
Rollback OpenAiEmbeddingProperties
Signed-off-by: WOONBE <[email protected]>
1 parent aabfda5 commit 88ffff4

File tree

1 file changed

+0
-10
lines changed
  • auto-configurations/models/spring-ai-autoconfigure-model-openai/src/main/java/org/springframework/ai/model/openai/autoconfigure

1 file changed

+0
-10
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-openai/src/main/java/org/springframework/ai/model/openai/autoconfigure/OpenAiEmbeddingProperties.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public class OpenAiEmbeddingProperties extends OpenAiParentProperties {
3434

3535
private String embeddingsPath = DEFAULT_EMBEDDINGS_PATH;
3636

37-
private int maxBatchChars = 160000;
38-
3937
@NestedConfigurationProperty
4038
private OpenAiEmbeddingOptions options = OpenAiEmbeddingOptions.builder().model(DEFAULT_EMBEDDING_MODEL).build();
4139

@@ -63,12 +61,4 @@ public void setEmbeddingsPath(String embeddingsPath) {
6361
this.embeddingsPath = embeddingsPath;
6462
}
6563

66-
public int getMaxBatchChars() {
67-
return this.maxBatchChars;
68-
}
69-
70-
public void setMaxBatchChars(int maxBatchChars) {
71-
this.maxBatchChars = maxBatchChars;
72-
}
73-
7464
}

0 commit comments

Comments
 (0)