Hi Community,
Play the new video on InterSystems Developers YouTube:
⏯ Using LLMs with InterSystems IRIS Interoperability Productions @ Global Summit 2024
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Hi Community,
Play the new video on InterSystems Developers YouTube:
⏯ Using LLMs with InterSystems IRIS Interoperability Productions @ Global Summit 2024
Hello everybody,
I’m trying to install WebTerminal but I’m not able to have it working. I’ve looked all around the in github and the community but no-one seems to have the same problem. So I hope sharing this someone can give me a hint
So, I’m installing it on IRIS HEALTH:
IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2023.1.3 (Build 517U) Wed Jan 10 2024 13:30:33 EST [Health:5.1.0-2.m3] I install the packageWebTerminal-v4.9.5.xml via Portal Manager and all goes fine:
Importing Selected Classes from /intersystems/prog/IRISHEALTH/mgr/Temp/importfromlocal.stream Import to Namespace %SYS.
We have a requirement to use ALB/Reverse proxy like traefik. Is there any similar solution produce by webgateway or webgateway-ingenix container image?
Reference:
webgateway-nginx:2024.1
Welcome to the third and final publication of our articles dedicated to the development of RAG applications based on LLM models. In this final article, we will see, based on our small example project, how we can find the most appropriate context for the question we want to send to our LLM model and for this we will make use of the vector search functionality included in IRIS.

A key element of any RAG application is the vector search mechanism, which allows you to search within a table with records of this type for those most similar to the reference vector.
Hi
I'm trying to use JWT authentication on a REST application in IRIS. The login API are correctly "injected" into the application. Login works fine with Postman and other REST clients, and subsequent calls to my REST API using the bearer token work fine (correctly authenticated). So far, so good.
The problem is that it doesn't work with Axios, so I can only test it, I cannot integrate it into my application.
In the past, I've created custom SQL operations, but now I had something trivial to do, so I decided to take EnsLib.SQL.Operation.GenericOperation out for a spin. There's no example in the docs, so it was a little tricky. Here's what I ended up doing:
In my external database, I have 'mytable' with two fields 'id1' and 'id2'. Here are the pertinent Business Operation settings:
SQL: select id2 from mytable where id1 = ?
Input Parameters: [1] *id1
RequestClass: Ens.
Some of our applications provide SOAP services that use “DSTIME”-based SQL queries that return records that have recently been added or changed. Since the records don’t change often, these queries usually return a small number of records and therefore take little time.
However, we sometimes make a table change that affects all records in that table. When that happens, on the next SOAP request from a SOAP client the service will run its query which will take an extra-long time because all records are included (for our apps, the queries return hundreds of thousands of records in this case).
.png)
Hi Community,
Play the new video on InterSystems Developers YouTube:
⏯ How We Used AI to Build Faster Sell More and Support Better @ Global Summit 2024
Hi all,
We have an restriction in a SQL database with a unique index.
We want to catch that exception when it tries to insert or update a value that violates the unique index condition.
// run the query
Set tSC = ..Adapter.ExecuteUpdateParmArray(.nrows,SQL,.param)
// Check if there is any error
If $$$ISERR(tSC)
{
Set msgError = $System.Status.GetErrorText(tSC)
// Check here if the native error code is 2601 (Cannot insert duplicate key row into object 'MYPATIENTS' with unique index 'UQ_UNIQUE_INDEX')
??????
}I've tried to get the .
Hi All,
I'm trying to connect to an IRIS instance using VSCode, the problem is, there are 2 IRIS instances installed on this server, published by the same hostname using https (port 443) under 2 different subfolders (e.g., iris.demo.com/base & iris.demo.com/test).
When connecting via studio, I was able to connect by using the hostname (e.g., iris.demo.com) and specifying the super server port, while when connecting through VSCode, when specifying the web server port 443, the connection is always defaulted to one of the instance.
Is there any way we can specify the instance in VSCode?
Many thanks!
How can I display the patch version?
The command Write $system.Version.GetPatchId()
doesn't show anything.
What other options are there?
Thanks.
DESTFILE="/opt/users/file1.dat"
##class(%File).Rename(SOURCFILE,DESTFILE,.STATUS) when this is executed in IRIS, SOURCEFILE is getting moved to the folder in DESTFILE but it is not getting deleted from SOURCEFILE folders. Same call is working as expected in cache. Has anyone experienced this issue? We are trying convert to IRIS from cache.
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
Is it possible to install IRIS Studio as an evaluation, so I can use the built-in IDE?
I have installed IRIS Community edition that does not come with a built-id IDE.
Altelier website is down down.
VSCode with ObjectScript - tried to run simple MUMPS code and says not supported
I am experiencing an issue while executing a stored procedure in InterSystems Cache. Here’s the procedure I created
CREATE PROCEDURE Silk.
I have an IRIS installation that is using 8-bit charset encoding (set to deu8 / Latin 1). I would like to convert everything (database and system) to Unicode
Charset encoding is something asked during installation, is it possible to change this on the fly ? The installer clearly say that Unicode systems cannot be converted. What about 8 bit ?
Same for database : is there possible conversion ?
My current plan is the following :
- export all globals from 8-bit instance
- install a new Unicode instance
- import all globals into Unicode instance
Is there a simpler approach ?
Good morning
We are looking for a Senior Database Manager for a contract position with a health agency. It's a two and a half year contract, fully remote.
Please review the opportunity by clicking the link below and if you qualify, please let me know if you are interested in speaking about the opportunity.
More info here: https://teckpert.applytojob.com/apply/okkPyvcJn5/Senior-Database-Manager-Intersystems
Need to be based in the US and have work authorization.
Please apply to the link above.
Best,
Gabriel
We've just made a change to Server Manager with the aim of it coping better when a stored password is no longer valid, for example because it has been changed.
We plan to include this in the next published version (no release date yet set), but if you'd like early access please download the v3.6.3-beta.3 VSIX and install it, for example by dragging it from your file explorer onto the Extensions view in VS Code.
If you encounter problems with this beta you can easily revert to the most recent published version (3.6.2) by means of the "Install Specific Version.
Many programming languages use the try-and-catch construct to handle runtime errors gracefully. If the code within the try block encounters an error, it will throw an exception to the catch block, where the error handling occurs. Today we will dive into the ObjectScript implementation of this construct and discuss some ways to clean things up.
Can InterSystems IRIS Data Platform 2019 be Integrated with Snowflake?
From InterSystems Do we have any predefined packages or Adapters available to Connect with Snowflake?
Can InterSystems be Connected with Snowflake through Web Gateway Management?
I added a Response Message Class to a call in the Business Process Designer.
When i click on Response Actions or on Response Builder i get a message
"You must specify a response message class in order to add or edit response actions."
no matter which response message i choose i always get the above warning.
how do i fix this?
Thanks
Is it OK to load files (UDL format in my case) using the $system.OBJ.Load() function from multiple processes ?
In other words ,is that function thread safe ?
Hi everyone, My name is Emmanuel Katto. What performance tuning techniques have you found most effective when working with InterSystems IRIS? Any specific metrics to monitor?
I look forward to your tips/suggestions.
Thanks in advance!
Best,
Emmanuel Katto
In ObjectScript you have a wide collection of functions that return some value
typically:
set variable = $somefunction(param1,param2, ...)
There is nothing special about that.
But there is a set of functions that I classify as LEFT SIDED
The specialty of them is that you can use them also on the left of the equal operator
as a target in the SET command:
set $somefunction(param1,param2, ...) = value
The reason to raise that subject is that with IRIS
We continue with this series of articles on LLM and RAG applications and in this article we will discuss the red boxed part of the following diagram:
.png)
In the process of creating a RAG application, choosing an LLM model that is appropriate to your needs (trained in the corresponding subject, costs, speed, etc.) is as important as having a clear understanding of the context you want to provide. Let's start by defining the term to be clear about what we mean by context.
Hi, I'm working on a large extraction from a database and need to parallelize the processes during the extraction.
Here's what happens:
Job <Method> instruction.
At the end, the user expects to find a document containing the results of all the extractions. What I'd like to do is start a new job that checks whether the previously started jobs have finished or are still working and consequently produce the document.
After starting each job, using $ZCHILD instruction I can get the ID of the last started job.
Hi Team, we are going to deliver a speech on a developer forum where most developers hv not used our tech before but using other database and integration technologies , Pls give us some key points on why they should adopt us and the benefits you can get, especially if you change your tech stack from others to IRIS. Thanks a lot!
Hello everyone,
I'm working with a class generated by OpenAPI in InterSystems IRIS, specifically impl.cls. In one of the classmethods of this class, I need to switch to the %SYS namespace to access system-level functionalities and then switch back to the original namespace.
I tried using the following commands:
new $namespace set $namespace = “%SYS”
However, these give an error when executed. Is there a proper way to change namespaces programmatically within a classmethod and gain access to the %SYS namespace? Any best practices or example code snippets would be greatly appreciated!
Thank you!
In the business world, every second counts, and having high-performing applications is essential for streamlining our business processes. We understand the significance of crafting efficient algorithms, measurable through the big O notation.
Nevertheless, there are numerous strategies to boost the performance of systems built on the IRIS Data Platform. These strategies are equally crucial for optimizing overall efficiency.
Let's join the journey for a sneak peek into the tips for making IRIS Data Platform work better, where every little trick will help your applications shine.
1.