此版本仍在开发中,尚未被视为稳定版本。最新的快照版本请使用 Spring AI 1.0.0-SNAPSHOT!spring-doc.cn

这是一个突破性的变化!在早期版本的 Spring AI 中,默认情况下会进行此架构初始化。

可以将 Azure Open AI 实现替换为支持 Embeddings 接口的任何有效 OpenAI 实现。例如,您可以使用 Spring AI 的 Open AI 或实现进行嵌入,而不是 Azure 实现。TransformersEmbeddingspring-doc.cn

请参阅 Dependency Management 部分,将 Spring AI BOM 添加到您的构建文件中。
财产 默认值

spring.ai.vectorstore.azure.urlspring-doc.cn

spring.ai.vectorstore.azure.api-keyspring-doc.cn

spring.ai.vectorstore.azure.initialze-schemaspring-doc.cn

spring-doc.cn

spring.ai.vectorstore.azure.index-namespring-doc.cn

spring_ai_azure_vector_storespring-doc.cn

spring.ai.vectorstore.azure.default-top-kspring-doc.cn

4spring-doc.cn

spring.ai.vectorstore.azure.default-similarity-thresholdspring-doc.cn

0.0spring-doc.cn

spring.ai.vectorstore.azure.embedding-propertyspring-doc.cn

嵌入spring-doc.cn

spring.ai.vectorstore.azure.index-namespring-doc.cn

spring-ai-文档索引spring-doc.cn

您必须明确列出筛选条件表达式中使用的任何元数据键的所有元数据字段名称和类型。上面的列表注册了可筛选的元数据字段: type 、 type 和 type 。countryTEXTyearINT64activeBOOLEANspring-doc.cn

如果可筛选的元数据字段使用新条目展开,则必须使用此元数据(重新)上传/更新文档。spring-doc.cn