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

相关推荐
大猫会长11 分钟前
mac中创建 .command 文件,执行node服务
前端·chrome
旧时光_11 分钟前
Zustand 状态管理库完全指南 - 进阶篇
前端·react.js
snakeshe101012 分钟前
深入理解useState:批量更新与非函数参数支持
前端
windliang13 分钟前
Cursor 排查 eslint 问题全过程记录
前端·cursor
boleixiongdi14 分钟前
# Bsin-App Uni:面向未来的跨端开发框架深度解析
前端
G等你下课17 分钟前
AJAX请求跨域问题
前端·javascript·http
前端西瓜哥17 分钟前
pixijs 的填充渲染错误,如何处理?
前端
snakeshe101018 分钟前
6-1. 实现 useState
前端
呆呆没有脑袋20 分钟前
深入浅出 JavaScript 闭包:从核心概念到框架实践
前端
snakeshe101021 分钟前
用100行代码实现React useState钩子:多状态管理揭秘
前端