Skip to main content

#AI #嵌入 #数据库AI 原生开源嵌入数据库-chromaChroma拥有使用嵌入所需的所有工具让嵌入变得简单安装:pip install chromadb核心 API 是 4 个命令import chromadbclient = chromadb.Client()collection = client.create_collection("sample_collection")# Add docs to the collection. Can also update and delete. Row-based API coming soon!collection.add(documents=["This is document1", "This is document2"], # we embed for you, or bring your ownmetadatas=[{"source": "notion"}, {"source": "google-docs"}], #…📡发布:

  1. #AI #嵌入 #数据库
    AI 原生开源嵌入数据库-chroma
    Chroma拥有使用嵌入所需的所有工具

    让嵌入变得简单

    安装:

    pip install chromadb

    核心 API 是 4 个命令

    import chromadb
    client = chromadb.Client()

    collection = client.create_collection("sample_collection")

    # Add docs to the collection. Can also update and delete. Row-based API coming soon!
    collection.add(
    documents=["This is document1", "This is document2"], # we embed for you, or bring your own
    metadatas=[{"source": "notion"}, {"source": "google-docs"}], #…
    📡发布:https://noisevip.cn/16779.html
    📢关注频道:@quanshoulu
    💬留言讨论:@Efficiencyfollow
    📬投稿bot:@noisewowbot
    📇搜索bot:@Efficiencysearchbot
    🎁访问主页: www.noisework.cn