Nova postagem

Pesquisar

Pergunta
· Abr. 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Abr. 19

SourceControl errors

After upgrading from 2024 to 2025 Im not able to compile any class.

I was using ZPM and git-source-control.

Now Im getting 

 

Compilation started on 04/19/2025 20:53:00 with qualifiers 'cuk /checkuptodate=expandedonly'

ERROR #5002: ObjectScript error: <CLASS DOES NOT EXIST>OnAfterSave+4^SourceControl.Git.Extension.1 *SourceControl.Git.Utils
Detected 1 errors during compilation in 0.209s. class '%Studio.SourceControl.Interface', method 'OnBeforeTimestamp': <CLASS DOES NOT EXIST> 150 

I disabled SourceControl in Management portal and nothing happen.

2 Comments
Discussão (2)2
Entre ou crie uma conta para continuar
Pergunta
· Abr. 19

Problem with ollama container in langchain-iris-tool

I cloned @Yuri.Marx's langchain-iris-tool repo and modified docker-compose yaml per this post:

https://community.intersystems.com/post/error-when-trying-langchain-iris...

Now I see this:

docker ps -a
CONTAINER ID   IMAGE                      COMMAND                  CREATED         STATUS                          PORTS                                                                                                                                                                      NAMES
c585beb367e6   ollama/ollama:latest       "/usr/bin/bash /mode…"   6 minutes ago   Restarting (1) 55 seconds ago                                                                                                                                                                              ollama
c59535140780   langchain-iris-tool-iris   "/tini -- /docker-en…"   6 minutes ago   Up 6 minutes (healthy)          2188/tcp, 8501/tcp, 54773/tcp, 0.0.0.0:51972->1972/tcp, :::51972->1972/tcp, 0.0.0.0:53795->52773/tcp, :::53795->52773/tcp, 0.0.0.0:32770->53773/tcp, :::32770->53773/tcp   langchain-iris-tool-iris-1
e898e27c7275   yourstreamlitapp:latest    "streamlit run /usr/…"   6 minutes ago   Up 6 minutes                    0.0.0.0:8501->8501/tcp, :::8501->8501/tcp                                                                                                                                  langchain-iris-tool-streamlit-1

 

ollama is Restarting. Why?

I get this error when I try Iris Classes Chat:

ValueError: Error raised by inference endpoint: HTTPConnectionPool(host='ollama', port=11434): Max retries exceeded with url: /api/embeddings (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f4d75c88d90>: Failed to resolve 'ollama' ([Errno -5] No address associated with hostname)"))

9 Comments
Discussão (9)2
Entre ou crie uma conta para continuar
Pergunta
· Abr. 18

Error when trying langchain-iris-tool

I cloned @Yuri.Marx's langchain-iris-tool repo and typed docker-compose up -d. I see error message:

Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]
 

1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar
Discussão (0)1
Entre ou crie uma conta para continuar