Skip to content

Commit 02b2f2e

Browse files
leehautspring-builds
authored andcommitted
Fix outdated embedding model documentation link in TokenCountBatchingStrategy Javadoc (#5083)
Signed-off-by: lance <[email protected]> (cherry picked from commit df47ca4)
1 parent 5cbc3c6 commit 02b2f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-ai-commons/src/main/java/org/springframework/ai/embedding/TokenCountBatchingStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
/**
3434
* Token count based strategy implementation for {@link BatchingStrategy}. Using openai
35-
* max input token as the default:
36-
* https://platform.openai.com/docs/guides/embeddings/embedding-models.
35+
* max input token as the default: <a href=
36+
* "https://platform.openai.com/docs/guides/embeddings#embedding-models">embedding-models</a>
3737
*
3838
* This strategy incorporates a reserve percentage to provide a buffer for potential
3939
* overhead or unexpected increases in token count during processing. The actual max input

0 commit comments

Comments
 (0)