Question
· Apr 19

Error in iris-rag-demo

I cloned iris-rag-demo from Open Exchange and issued docker-compose up -d. I went to the front end and type in the chat message:

Who was the 46th President of United States of America?

I got a run time error:

RuntimeError: ERROR <Ens>ErrBPTerminated: Terminating BP ChatProcess # due to error: ERROR #5002: ObjectScript error: <PYTHON EXCEPTION> *<class 'RuntimeError'>: <PYTHON EXCEPTION> <class 'ValueError' > ERROR #5002: ObjectScript error: <PYTHON EXCEPTION> *<class 'RuntimeError'

Traceback:

 

File "/irisdev/app/src/python/rag/app.py", line 28, in process_input agent_text = _service.ask(user_text, rag_enabled) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/irisdev/app/src/python/rag/bs.py", line 21, in ask response = self.send_request_sync(self.target, msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/irisowner/.local/lib/python3.12/site-packages/grongier/pex/_business_host.py", line 42, in dispatch_serializer return fonction(self,*serialized, **param2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/irisowner/.local/lib/python3.12/site-packages/grongier/pex/_business_host.py", line 55, in dispatch_deserializer return self._dispatch_deserializer(fonction(self,*params, **param2)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/irisowner/.local/lib/python3.12/site-packages/grongier/pex/_business_host.py", line 109, in send_request_sync return self.iris_handle.dispatchSendRequestSync(target,request,timeout,description) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Discussion (0)1
Log in or sign up to continue