infiniflow / ragflow

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

[Question]: Multiple questions and answers about the python api failed #3323

Open ZxnSnowy opened 1 week ago

ZxnSnowy commented 1 week ago

Describe your problem

Here's my code: image I found no assistant.get_prologue(). create_session() generates an opening that is not a custom opening in the front-end chat configuration, but instead becomes a Hi! I am your assistant, can I help you? Most importantly, you can only do a few Q&A sessions and then report an error: image

Feiue commented 1 week ago

What's your code version? Maybe you could just copy the modules/session.py in github