infiniflow / ragflow

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

[Feature Request]: deploy using WSGI. #1268

Open shichunshan opened 2 months ago

shichunshan commented 2 months ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

./entrypoint.sh: line 25: 18337 Killed                  $PY api/ragflow_server.py
[WARNING] [2024-06-24 07:59:24,499] [synonym.__init__] [line:24]: Realtime synonym is disabled, since no redis connection.
SUM: [WARNING] Load term.freq FAIL!

    ____                 ______ __               
   / __ \ ____ _ ____ _ / ____// /____  _      __
  / /_/ // __ `// __ `// /_   / // __ \| | /| / /
 / _, _// /_/ // /_/ // __/  / // /_/ /| |/ |/ / 
/_/ |_| \__,_/ \__, //_/    /_/ \____/ |__/|__/  
              /____/                             

[INFO] [2024-06-24 07:59:36,021] [_internal._log] [line:96]: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Describe the feature you'd like

run_simple causes the service to be killed, interrupting the service. I hope to be able to deploy using WSGI.

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response

r1ng13 commented 1 month ago

想问下这个问题解决了吗

bwnjnOEI commented 1 month ago

+1