• 2024-08-06VannaAI(带有 Ollama 和 ChromaDB)示例程序在训练模型步骤失败
    我开始测试VannaAI,并且我正在运行一个基于使用Ollama、ChromaDB为Postgres生成SQL的示例程序:fromvanna.ollamaimportOllamafromvanna.chromadbimportChromaDB_VectorStoreclassMyVanna(ChromaDB_VectorStore,Ollama):def__init__(self,confi
  • 2024-08-02InvalidDimensionException:嵌入维度 384 与集合维度 3 不匹配
    我尝试在ChromaDB上使用语义搜索方法,然后出现错误“InvalidDimensionException:嵌入维度384与集合维度3不匹配”我的文件没有任何问题,供您参考,该文件是.CSV并且它已经有嵌入。我尝试使用以下代码执行语义搜索方法:fromchromadb.configimportSettingsfromchrom
  • 2024-07-20在 MacOS 上使用 chromadb 添加文档时出现 ONNXRuntimeError
    我正在尝试使用Chromadb运行Python脚本。创建集合,添加一些向量并得到。但出现错误。脚本:importchromadbclient=chromadb.Client()collection=client.create_collection(name="example")collection.add(documents=["Skyisunlimited.","Treeisaplant
  • 2024-07-06矢量数据库Chromadb的入门信息
    一.概述 Chromadb是比较年轻的矢量数据库,也是LangChain默认使用的矢量数据库,使用简单,上手很容易。官网地址:https://docs.trychroma.com/Github:https://github.com/chroma-core/chroma 二.安装 官网的指南:https://docs.trychroma.com/getting-started 三.使用模式