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

相关推荐
明月_清风4 分钟前
Deno 终局来了:从挑战 Node 到被 Cloudflare 收编
前端·后端·node.js
Csvn1 小时前
框架性能优化
前端
回眸&啤酒鸭3 小时前
【回眸】OpenSwarm 多智能体协作系统实战指南
大数据·前端·人工智能
java资料站3 小时前
二、Spring AI Alibaba · ChatModel
java·windows·spring
用户69371750013843 小时前
2026,程序员的时代拐点到了
android·前端·后端
大龄秃头程序员3 小时前
一次 iBeacon + BLE 无感解锁方案的实现记录
前端
小兔子3 小时前
Python 的 GIL 与 free-threading:3.13 之后「去 GIL」走到哪一步了
前端
IT_陈寒3 小时前
SpringBoot自动配置差点让我加班到凌晨
前端·人工智能·后端
java资料站4 小时前
五、Spring AI Alibaba · Memory · Saver(短期会话)
java·spring·microsoft
guslegend4 小时前
脚手架原理与本地调试:从 bin 软链接到 npm link
前端·npm·node.js·脚手架·前端工程化