我一直在尝试使用
Chromadb版本0.4.8Langchain版本0.0.276如SentenceTransformerEmbeddingFunction下面的代码片段所示。
from langchain.vectorstores import Chroma
from chromadb.utils import embedding_functions
# other imports
embedding = embedding_functions.SentenceTransformerEmbeddingFunction(model_name="all-MiniLM-L6-v2")
Run Code Online (Sandbox Code Playgroud)
但是,它会引发以下错误。
RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.
Run Code Online (Sandbox Code Playgroud)
有趣的是,我确实有所需的sqlite3( 3.43.0) 可用,我可以使用该命令进行验证sqlite3 --version。
将不胜感激任何帮助。谢谢。
我是Maven项目的新手.我将一个现有的Maven项目导入eclipse,然后进行了新的配置.我尝试运行该应用程序,但控制台显示
[ERROR] Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.4:devserver (default-cli) on project helloworld: The plugin com.google.appengine:appengine-maven-plugin:1.9.4 requires Maven version 3.1.0 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException
Run Code Online (Sandbox Code Playgroud)
我检查了它显示的链接.它建议将构建环境更新为所需的Maven版本.我搜索了它,但发现在pom.xml中进行了一些更改.但没有任何效果.谁能告诉我如何解决这个问题.我安装的Maven版本是3.0.5.