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.
Property Description Default value

spring.ai.vectorstore.typesense.client.protocolspring-doc.cn

HTTP Protocolspring-doc.cn

httpspring-doc.cn

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

Hostnamespring-doc.cn

localhostspring-doc.cn

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

Portspring-doc.cn

8108spring-doc.cn

spring.ai.vectorstore.typesense.client.apiKeyspring-doc.cn

ApiKeyspring-doc.cn

xyzspring-doc.cn

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

Whether to initialize the required schemaspring-doc.cn

falsespring-doc.cn

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

Collection Namespring-doc.cn

vector_storespring-doc.cn

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

Embedding Dimensionspring-doc.cn

1536spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file.

It is more convenient and preferred to create the TypesenseVectorStore as a Bean. But if you decide to create it manually, then you must call the TypesenseVectorStore#afterPropertiesSet() after setting the properties and before using the client.spring-doc.cn

If you are not retrieving the documents in the expected order or the search results are not as expected, check the embedding model you are using.spring-doc.cn

Embedding models can have a significant impact on the search results (i.e. make sure if your data is in Spanish to use a Spanish or multilingual embedding model).spring-doc.cn