You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error info:
File "F:\github\ChatPilot\chatpilot\server.py", line 29, in
from chatpilot.apps.rag_app import app as rag_app
File "F:\github\ChatPilot\chatpilot\apps\rag_app.py", line 125, in
app.state.sentence_transformer_ef = embedding_functions.Text2VecEmbeddingFunction(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\github\ChatPilot\venv\Lib\site-packages\chromadb\utils\embedding_functions\text2vec_embedding_function.py", line 14, in init
raise ValueError(
zhaofangtao
changed the title
Text2VecEmbeddingFunction
ValueError: The text2vec python package is not installed. Please install it with pip install text2vec
Aug 20, 2024
Describe the bug
rag_app.py line: 125:
elif "text2vec" in app.state.RAG_EMBEDDING_MODEL:
app.state.sentence_transformer_ef = embedding_functions.Text2VecEmbeddingFunction(
model_name=app.state.RAG_EMBEDDING_MODEL
)
error info:
File "F:\github\ChatPilot\chatpilot\server.py", line 29, in
from chatpilot.apps.rag_app import app as rag_app
File "F:\github\ChatPilot\chatpilot\apps\rag_app.py", line 125, in
app.state.sentence_transformer_ef = embedding_functions.Text2VecEmbeddingFunction(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\github\ChatPilot\venv\Lib\site-packages\chromadb\utils\embedding_functions\text2vec_embedding_function.py", line 14, in init
raise ValueError(
实际text2vec已安装成功:
chromadb 0.5.5
text2vec 1.2.9
初步排查embedding_functions没有Text2VecEmbeddingFunction()方法
The text was updated successfully, but these errors were encountered: