Skip to content

Commit cacf381

Browse files
committed
Add doc for ZhiPuAi embedding dimensions option
Signed-off-by: Assassinxc <[email protected]>
1 parent 85c1420 commit cacf381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The prefix `spring.ai.zhipuai.embedding` is property prefix that configures the
9191
| spring.ai.zhipuai.embedding.base-url | Optional overrides the spring.ai.zhipuai.base-url to provide embedding specific url | -
9292
| spring.ai.zhipuai.embedding.api-key | Optional overrides the spring.ai.zhipuai.api-key to provide embedding specific api-key | -
9393
| spring.ai.zhipuai.embedding.options.model | The model to use | embedding-2
94-
| spring.ai.zhipuai.embedding.options.dimensions | The number of dimensions | -
94+
| spring.ai.zhipuai.embedding.options.dimensions | The number of dimensions, the default value is 2048 when the model is embedding-3 | -
9595
|====
9696

9797
NOTE: You can override the common `spring.ai.zhipuai.base-url` and `spring.ai.zhipuai.api-key` for the `ChatModel` and `EmbeddingModel` implementations.

0 commit comments

Comments
 (0)