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结构如下

相关推荐
资深前端之路13 小时前
react 面试题 react 有什么特点?
前端·react.js·面试·前端框架
aaaweiaaaaaa13 小时前
HTML和CSS学习
前端·css·学习·html
秋秋小事13 小时前
React Hooks useContext
前端·javascript·react.js
Jinuss13 小时前
Vue3源码reactivity响应式篇之reactive响应式对象的track与trigger
前端·vue3
striver_#13 小时前
百度前端社招面经二
前端
xcnn_13 小时前
前端入门——案例一:登录界面设计(html+css+js)
前端·css·html
ST.J13 小时前
前端笔记2025
前端·javascript·css·vue.js·笔记
拉不动的猪13 小时前
回顾vue中的Props与Attrs
前端·javascript·面试
Jerry14 小时前
使用 Material 3 在 Compose 中设置主题
前端
chéng ௹14 小时前
uniapp 封装uni.showToast提示
前端·javascript·uni-app