Question Oliver Wilms · Apr 27 I want to use ollama and IRIS for my AI use case - How do I connect to ollama? I combined @Rodolfo Pscheidt https://github.com/RodolfoPscheidtJr/ollama-ai-iris with some files from @Guillaume Rongier https://openexchange.intersystems.com/package/iris-rag-demo. #Artificial Intelligence (AI) #Containerization #Docker #Generative AI (GenAI) #Large Language Model (LLM) #Python #InterSystems IRIS 0 3 0 38
Question Oliver Wilms · Apr 21 My AI use case - need help with Ollama and / or Langchain I am brand new to using AI. I downloaded some medical visit progress notes from my Patient Portal. I extracted text from PDF files. I found a YouTube video that showed how to extract metadata using an OpenAI query / prompt such as this one: ollama-ai-iris/data/prompts/medical_progress_notes_prompt.txt at main · oliverwilms/ollama-ai-iris #Artificial Intelligence (AI) #Containerization #Docker #Generative AI (GenAI) #Large Language Model (LLM) #Python #InterSystems IRIS #InterSystems IRIS for Health 0 0 0 37
Discussion Oliver Wilms · Apr 20 Load data into LLM I read the article by @Rodolfo Pscheidt: https://community.intersystems.com/post/ollama-ai-iris I forked his app and copied selected files from @Guillaume Rongier iris-rag-demo to make it containerized: oliverwilms/ollama-ai-iris I ran load_data.py and I got this output: #Artificial Intelligence (AI) #Docker #Large Language Model (LLM) #InterSystems IRIS for Health #InterSystems IRIS 0 0 0 30
Question Oliver Wilms · Apr 20 Connection URL from Python to IRIS I read the article by @Rodolfo Pscheidt Jr: https://community.intersystems.com/post/ollama-ai-iris I forked his app and copied selected files from @Guillaume Rongier iris-rag-demo to make it containerized: #Python #InterSystems IRIS for Health 0 3 0 41
Question Oliver Wilms · 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: #Docker #Python #InterSystems IRIS for Health #InterSystems IRIS #Open Exchange 0 0 0 22
Question Oliver Wilms · Apr 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 #Key Question #InterSystems IRIS for Health #Open Exchange 1 9 0 78
Question Oliver Wilms · Apr 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]] #Docker #InterSystems IRIS for Health #Open Exchange 0 1 0 33
Question Oliver Wilms · Apr 4 REST application gets 403 Forbidden I deployed an IRIS REST application using Installer class. I think I created the namespace FEEDER database with %DB_Default resource and I used the same resource in Web Application roles. I allowed Unauthenticated Authentication method. I used ^%ISCLOG and reviewed ^ISCLOG. I do not understand why I get 403 Forbidden response. #REST API #InterSystems IRIS for Health 0 4 0 32
Question Oliver Wilms · Jan 19 Where did my variables go? Without Exclusive NEW, now I get <UNDEFINED> I inherited some legacy MUMPS / ObjectScript code. A code review identified an exclusive NEW and that is not allowed per our coding standards. The original code contains: RUN(CALL,DRVNAME) S $EC="" S ^TMP($J,"RMPV","DRVNAME")=DRVNAME N TMPFILE,OLDIO S OLDIO=$IO I $G(^TMP("RMPV","SILENT"),1) S IOP="NULL",%ZIS=0 D ^%ZIS I '$G(POP,1) U IO D INIT^@DRVNAME D ; scope variables .N (DUZ,CALL) ; Protect %response .S IOF="""""",IOM=80,U="^" .D @CALL U OLDIO Q #ObjectScript #Caché #InterSystems IRIS for Health #InterSystems IRIS 0 3 0 93
Article Oliver Wilms · Dec 18, 2024 4m read Bringing Idea Inbound Interoperability adapter for HTTP Calls to Reality ## Implements Idea DPI-I-456 Idea #API #Business Service #Interoperability #Ensemble #InterSystems IRIS #InterSystems IRIS for Health Open Exchange app 2 0 0 92
Question Oliver Wilms · Dec 15, 2024 ERROR #9761: No key in provided JWKS for alg ES512 and kid I am trying to work with Epic on FHIR. Epic's documentation stated, your application makes a HTTP POST request to the authorization server's OAuth 2.0 token endpoint to obtain access token. Set tSC = ##class(%SYS.OAuth2.Authorization).GetAccessTokenClient(pClient,pScopes,.prop,.err) returns ERROR #9761: No key in provided JWKS for alg ES512 and kid I check this /csp/sys/oauth2/OAuth2.JWTServer.cls?client_name=medbank and I see this: #FHIR #OAuth2 #InterSystems IRIS 0 1 0 49
Article Oliver Wilms · Dec 15, 2024 3m read Setup OAuth2 Client for iris-http-calls to Epic on FHIR I have started working on utilizing Epic on FHIR about a month ago. Creating a Public Private Key Pair mkdir /home/ec2-user/path_to_key openssl genrsa -out ./path_to_key/privatekey.pem 2048 For backend apps, you can export the public key to a base64 encoded X.509 certificate named publickey509.pem using this command... #Authentication #AWS #Docker #FHIR #OAuth2 #SSL #InterSystems IRIS for Health Open Exchange app 5 2 2 249
Question Oliver Wilms · Nov 22, 2024 Can I connect to Epic FHIR sandbox server using iris-fhir-client? I finally figured out how to get JWT token using set x = ##class(%SYS.OAuth2.Authorization).GetAccessTokenClient("medbank","openid fhirUser",.prop,.err). I also found iris-fhir-client app on Open Exchange. I registered Epic sandbox server, but I cannot list resources. I suspect I need to integrate authorization / authentication. How do I do this with irisfhirclient py? #Authentication #FHIR #OAuth2 #InterSystems IRIS for Health 2 1 0 91
Question Oliver Wilms · Nov 19, 2024 How to create a signed JWT I need to create a JWT to connect to EPIC FHIRserver sandbox. https://fhir.epic.com/Documentation?docId=oauth2§ion=BackendOAuth2Guide You will generate a one-time use JSON Web Token (JWT) to authenticate your app to the authorization server and obtain an access token that can be used to authenticate your app's web service calls. There are several libraries for creating JWTs. See jwt.io for some examples. #Encryption #FHIR #JSON #OAuth2 #InterSystems IRIS for Health 0 5 0 170
Question Oliver Wilms · Oct 17, 2024 Can I add Dynamic Object or Iterator to BPL Context? I have a BPL iterating over Dynamic arrays. Can I add Dynamic Array (%Dynamic Abstract Object) and also %Iterator.Array to BPL context? I tried and I see Error: %AddToSaveSet method does not exist for %Iterator.Array #Business Process (BPL) #HealthShare #Ensemble #Health Connect #InterSystems IRIS 0 1 0 108
Question Oliver Wilms · Oct 12, 2024 Error when I want to build image: sudo: unable to allocate pty: Operation not permitted What is the reason for RUN apt-get update && apt-get install -y \ git \ nano \ python3-opencv \ sudo && \ /bin/echo -e ${ISC_PACKAGE_MGRUSER}\\tALL=\(ALL\)\\tNOPASSWD: ALL >> /etc/sudoers && \ sudo -u ${ISC_PACKAGE_MGRUSER} sudo echo enabled passwordless sudo-ing for ${ISC_PACKAGE_MGRUSER} I think I get error because I do not have sudo privilege in the environment where I use podman to build the image podman build --tag oliver3 . #Git #Ubuntu #Open Exchange 0 0 0 110
Question Oliver Wilms · Oct 3, 2024 Create - and use - custom setting in BPL I try to add custom setting in BPL process by adding parameter SETTINGS = "Scope" and property Scope As %String. But how do I access instance property in BPL process? I get error that method or property Scope is not found. #InterSystems IRIS for Health #Ensemble 0 2 0 100
Question Oliver Wilms · Sep 28, 2024 This site can’t be reached - trying out iris-DataViz I want to try out iris-DataViz app to visualize my own data. I cloned the repo and docker-compose up -d in AWS. IRIS portal works, but on port 8051 I get nothing. I checked my AWS security groups. I reversed IRIS webserver port and 8051 and I can connect to Management portal using port 8051. I don't understand what is refusing connection on port 8051 running in iris-DataViz container. #AWS #Docker #Management Portal #Security #InterSystems IRIS 0 1 0 69
Question Oliver Wilms · Sep 19, 2024 Input Redirection Hello, I try to develop a REST interface where I need to interact with legacy MUMPS routines. How can I pass in input to a Read without modifying the legacy code? I think in linux I can execute command < inputfile to read from file, but how does it work in ObjectScript? #ObjectScript #InterSystems IRIS 0 7 0 198
Question Oliver Wilms · Aug 29, 2024 Create PDF and transfer it via REST Hello, I want to create PDF from HTML source. I found pandoc. I installed pandoc on IRIS container image. I created Interoperability production. I have setup REST service to receive HTML file in request body. I call pandoc command pandoc -o output.pdf input.html from a BPL process. I copy output.pdf file stream into response body. I save the response at the source. I get a file named output.pdf but it does not load in Acrobat. I suspect I am doing something wrong with headers (accept-encoding?) or maybe do I need to base64 encode the pdf file to transfer it via REST? #HTML #Interoperability #REST API #InterSystems IRIS 0 7 0 211