Skip to content

Commit

Permalink
Add doc for ZhiPuAi embedding dimensions option
Browse files Browse the repository at this point in the history
  • Loading branch information
Assassinxc committed Jan 21, 2025
1 parent 57aaaf5 commit b6b668b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The prefix `spring.ai.zhipuai.embedding` is property prefix that configures the
| spring.ai.zhipuai.embedding.base-url | Optional overrides the spring.ai.zhipuai.base-url to provide embedding specific url | -
| spring.ai.zhipuai.embedding.api-key | Optional overrides the spring.ai.zhipuai.api-key to provide embedding specific api-key | -
| spring.ai.zhipuai.embedding.options.model | The model to use | embedding-2
| spring.ai.zhipuai.embedding.options.dimensions | The number of dimensions | -
| spring.ai.zhipuai.embedding.options.dimensions | The number of dimensions, the default value is 2048 when the model is embedding-3 | -
|====

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

0 comments on commit b6b668b

Please sign in to comment.