infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
24.07k stars 2.35k forks source link

[Bug]: [ERROR]No module named 'FlagEmbedding' when uploading to knowledge base #2671

Open tanzeel291994 opened 1 month ago

tanzeel291994 commented 1 month ago

Is there an existing issue for the same bug?

Branch name

main

Commit ID

latest(2667)

Other environment information

This is from 'Launch service from source for development'

No response

Actual behavior

image

No module named 'FlagEmbedding'

Expected behavior

No response

Steps to reproduce

1. Uploading .xlsx file to knowledge base.
2. Start parsing when the error comes up on the UI. and parsing fails

Additional information

No response

tanzeel291994 commented 1 month ago

for these dependencies to get installed [tool.poetry.group.full.dependencies] bcembedding = "0.1.3" fastembed = "^0.3.6" flagembedding = "1.2.10" torch = "2.3.0" transformers = "4.38.1"

need to poetry install --with full