This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT!spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file. Refer to the Repositories section to add Milestone and/or Snapshot Repositories to your build file.
this is a breaking change! In earlier versions of Spring AI, this schema initialization happened by default.
Check the list of configuration parameters to learn about the default values and configuration options.
Refer to the Dependency Management section to add the Spring AI BOM to your build file.
These filter expressions are converted into the equivalent Milvus filters.
Property Description Default value

spring.ai.vectorstore.milvus.database-namespring-doc.cn

The name of the Milvus database to use.spring-doc.cn

defaultspring-doc.cn

spring.ai.vectorstore.milvus.collection-namespring-doc.cn

Milvus collection name to store the vectorsspring-doc.cn

vector_storespring-doc.cn

spring.ai.vectorstore.milvus.initialize-schemaspring-doc.cn

whether to initialize Milvus' backendspring-doc.cn

falsespring-doc.cn

spring.ai.vectorstore.milvus.embedding-dimensionspring-doc.cn

The dimension of the vectors to be stored in the Milvus collection.spring-doc.cn

1536spring-doc.cn

spring.ai.vectorstore.milvus.index-typespring-doc.cn

The type of the index to be created for the Milvus collection.spring-doc.cn

IVF_FLATspring-doc.cn

spring.ai.vectorstore.milvus.metric-typespring-doc.cn

The metric type to be used for the Milvus collection.spring-doc.cn

COSINEspring-doc.cn

spring.ai.vectorstore.milvus.index-parametersspring-doc.cn

The index parameters to be used for the Milvus collection.spring-doc.cn

{"nlist":1024}spring-doc.cn

spring.ai.vectorstore.milvus.client.hostspring-doc.cn

The name or address of the host.spring-doc.cn

localhostspring-doc.cn

spring.ai.vectorstore.milvus.client.portspring-doc.cn

The connection port.spring-doc.cn

19530spring-doc.cn

spring.ai.vectorstore.milvus.client.urispring-doc.cn

The uri of Milvus instancespring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.tokenspring-doc.cn

Token serving as the key for identification and authentication purposes.spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.connect-timeout-msspring-doc.cn

Connection timeout value of client channel. The timeout value must be greater than zero .spring-doc.cn

10000spring-doc.cn

spring.ai.vectorstore.milvus.client.keep-alive-time-msspring-doc.cn

Keep-alive time value of client channel. The keep-alive value must be greater than zero.spring-doc.cn

55000spring-doc.cn

spring.ai.vectorstore.milvus.client.keep-alive-timeout-msspring-doc.cn

The keep-alive timeout value of client channel. The timeout value must be greater than zero.spring-doc.cn

20000spring-doc.cn

spring.ai.vectorstore.milvus.client.rpc-deadline-msspring-doc.cn

Deadline for how long you are willing to wait for a reply from the server. With a deadline setting, the client will wait when encounter fast RPC fail caused by network fluctuations. The deadline value must be larger than or equal to zero.spring-doc.cn

0spring-doc.cn

spring.ai.vectorstore.milvus.client.client-key-pathspring-doc.cn

The client.key path for tls two-way authentication, only takes effect when "secure" is truespring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.client-pem-pathspring-doc.cn

The client.pem path for tls two-way authentication, only takes effect when "secure" is truespring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.ca-pem-pathspring-doc.cn

The ca.pem path for tls two-way authentication, only takes effect when "secure" is truespring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.server-pem-pathspring-doc.cn

server.pem path for tls one-way authentication, only takes effect when "secure" is true.spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.server-namespring-doc.cn

Sets the target name override for SSL host name checking, only takes effect when "secure" is True. Note: this value is passed to grpc.ssl_target_name_overridespring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.milvus.client.securespring-doc.cn

Secure the authorization for this connection, set to True to enable TLS.spring-doc.cn

falsespring-doc.cn

spring.ai.vectorstore.milvus.client.idle-timeout-msspring-doc.cn

Idle timeout value of client channel. The timeout value must be larger than zero.spring-doc.cn

24hspring-doc.cn

spring.ai.vectorstore.milvus.client.usernamespring-doc.cn

The username and password for this connection.spring-doc.cn

rootspring-doc.cn

spring.ai.vectorstore.milvus.client.passwordspring-doc.cn

The password for this connection.spring-doc.cn

milvusspring-doc.cn