spring-ai使用Document存储至milvus的数据结构

1、

html 复制代码
spring:
  application:
    name: spring-ai-alibaba-rag-milvus-example

  ai:
    dashscope:
      api-key: sk-xxxxxxoooooo

    vectorstore:
      milvus:
        client:
          host: xxx.ooo.mmm.nnn
          port: 19530
          username: root
          password: Milvus
        databaseName: default
        collectionName: vector_store
        #初始化 collection结构
        initializeSchema: true
        embeddingDimension: 1536 # default: 1536
        indexType: IVF_FLAT # default: IVF_FLAT
        metricType: COSINE # default: COSINE

2、初始化的milvus的collection结构如下

相关推荐
2601_9583529044 分钟前
A-59U 仅 37mm 却集成 USB + 双波束?
前端·回声消除·语音模块·降噪处理·降噪消回音
泯泷6 小时前
那段文字是谁删的?Yjs 14 正式版之前,一套删除归属方案的实现与边界
前端·javascript·算法
考虑考虑7 小时前
Springboot环境变量占位符语法
spring boot·后端·spring
步行cgn8 小时前
Spring 基于 XML 的自动装配:byName 详解
java·后端·spring
不会c+9 小时前
Day02 - 需求分析与用例建模
spring
野槐9 小时前
前端项目优化(有了我,会发生...)
前端
LuTshoes9 小时前
spring ai 实战 手搓 PlaneExecuteAgent
java·人工智能·spring·ai
aa小小10 小时前
【无标题】
前端
边境悍匪10 小时前
蜗牛学苑 Java 智能体学习 Day42|项目周开发技术汇总 1 思维导图复盘
java·开发语言·spring boot·学习·spring
计算机魔术师11 小时前
还在单线程跟 AI 聊天?Claude Code 并行多会话让你一个人干三个人的活
前端