Open franckess opened 6 days ago
Welcome @franckess
The path of least resistance to run on any machine is the Docker Quickstart
For running as part of your python project:
Perhaps the virtual environment path will work
Hi @ElishaKay,
cc @assafelovic
Thank you for the prompt reply.
I have got it to work using my-docs
folder, but if use Web
or Hybrid
then I get this error.
After doing some digging, the main issue comes from this step:
relevant_docs = await asyncio.to_thread(compressed_docs.invoke, query)
My initial workaround was to implement this:
# Check the length of self.documents and set the maximum depth of the Python interpreter stack if necessary
if len(self.documents) > 1000:
required_stack_depth = -(-len(self.documents) // 100) * 100 # Calculate the nearest ceiling of 100
sys.setrecursionlimit(required_stack_depth)
When running the tool using
Web
I am facing the issue below.