Article Kurro Lopez · May 1 3m read Ladies and Gentlemen, the amazing Iris-nator The amazing Iris-nator has arrived in town. He knows what you think, with just a few questions he is able to guess the character you have thought of. Do you dare? #Angular2 #Interoperability #InterSystems IRIS Open Exchange app 7 3 0 79
Article Kurro Lopez · Apr 14 14m read InterSystems for dummies – Machine learning As we all know, InterSystems is a great company. Their products can be just as useful as they are complex. Yet, our pride sometimes prevents us from admitting that we might not understand some concepts or products that InterSystems offers for us. Today we are beginning a series of articles explaining how some of the intricate InterSystems products work, obviously simply and clearly. In this essay, I will clarify what Machine Learning is and how to take advantage of it.... because this time, you WILL KNOW for sure what I am talking about. #Beginner #Machine Learning (ML) #Tips & Tricks #InterSystems IRIS Open Exchange app 19 1 7 167
Article Kurro Lopez · Apr 1 1m read How to get server/instance info Hi all, As part of the development an API to know what is the instance of IRIS is connected, I've found some methods to know information about the server that can help you. Get the server name: $SYSTEM.INetInfo.LocalHostName() Get the server IP: $SYSTEM.INetInfo.HostNameToAddr($SYSTEM.INetInfo.LocalHostName()) Get the instance name: $PIECE($SYSTEM,":",2) #API #Business Service #InterSystems IRIS #Caché 2 2 0 67
Question Kurro Lopez · Mar 25 How to tokenize a text using SentenceTransformer? Hi all. I'm trying to create an indexed table with an vector field so I can search by the vector value.I've been investigating and found that to get the vector value based on the text (token), use a Python method like the following: #Docker #JSON #Python #Vector Search #InterSystems IRIS 1 2 0 54
Question Kurro Lopez · Oct 28, 2024 Rename a namespace has removed all my code Hi all. I hope you can help me. I've renamed a namespace and its databases names. Old Namespace: LABORATORIO New namespace: SRV-LABORATORIO The rename of all has worked fine. When I've tried to access to the portal, it is no available, displaying the message "Tha namespace SRV-LABORATORIO does not support productions" So, I've run the following command in terminal #Databases #Namespace #InterSystems IRIS 1 2 0 154
Question Kurro Lopez · Oct 18, 2024 How to get the native sql error in SQL outbound adapter? 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. #SQL #HealthShare #InterSystems IRIS for Health #Health Connect #InterSystems IRIS 0 3 0 82
Question Kurro Lopez · Oct 3, 2024 How to call BO to other BO Hi all, I'm wondering if it is possible to call a Business Operation from other Business Operation. I have a BO that writes logs into a database, using a personal message. I can create a set obj=##class(MyLogs).%New() but the BO has all parameters about connection. Is it possible? Best regards. #Business Operation #InterSystems IRIS for Health 0 3 0 113
Question Kurro Lopez · Jul 7, 2024 How to "real" training a machine learning model Hi all, Some days ago, I've seen a youtuber talking about how to create a neural network (sorry, is in spanish) https://www.youtube.com/embed/iX_on3VxZzk[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings] #IntegratedML #Machine Learning (ML) #Python #SQL #InterSystems IRIS 1 4 0 137
Article Kurro Lopez · May 21, 2024 9m read Open AI integration with IRIS - His master voice’s – Are you angry? Continuing with the series of articles on voice file management, we are going to see how we can convert text into audio and receive the file with the chosen voice.We will also explore how a service from OpenAI can help us analyze a text and determine the mood expressed in it.Let's analyze how you can create your own voice file and how it can “read” your feelings. #Artificial Intelligence (AI) #API #Business Operation #Framework #InterSystems IRIS Open Exchange app 2 0 2 300
Question Kurro Lopez · Apr 9, 2024 Convert %Stream.GlobalBinary to Base64 Hi community, I'm calling to a API that it is retrieving the content of a file as Content of response. I'm catching the binary but I need to convert this Stream to a Base64 string. I'm trying to convert a %Stream.GlobaBinary to a Base64 string using the following code, but it doesn't work. #API #JSON #Caché #InterSystems IRIS 0 6 0 464
Question Kurro Lopez · Mar 15, 2024 Event onPostDispatch %CSP.Rest or similar Hi all, For a requirement of the customer, we have a BS Rest api with a lot of methods, we need to get the IP of the caller, the method and what is the time that the API has taken to process. I've found the event onPreDispatch where I can take the IP, ClassMethod, etc.. I'm using a global variable to save this information. #API #Business Service #ObjectScript #REST API #InterSystems IRIS 0 5 0 185
Article Kurro Lopez · Mar 3, 2024 5m read How to send messages to Microsoft Teams Hi community, The aim of this article is to explain how to create messaging between IRIS and Microsoft Teams. In my company, we wanted to monitor error messages, and we used the Ens.Alert class to redirect those error messages through a Business Operation that sent an email.The problem was that we sent those error messages to a support account where there were many emails. We wanted something specific for a specific team. So we investigated how to make these messages reach the development team directly and they could have, in real time, a notification of an error in our production.In our company we use Microsoft Teams as a corporate tool, so we asked ourselves: How could we make these messages reach the IRIS development team? #Business Operation #Monitoring #Tutorial #InterSystems IRIS Open Exchange app 31 14 7 724
Question Kurro Lopez · Feb 12, 2024 How to get the Job id for a BS API Rest for debug? Hi all, As you know, it is very complicated to debug a Business Service Rest API because the object is created when the applications receive a request, so we cannot have the JobId that we can use to debug. https://docs.intersystems.com/iris20211/csp/docbook/DocBook.UI.Page.cls?... So, I'm trying to get the JobId when the class is being created, write a trace in OnInit() method and write the JobId in a log info #API #Business Service #CSP #REST API #Studio #InterSystems IRIS 1 3 0 207
Question Kurro Lopez · Feb 8, 2024 Deserialize class from JSon with nodes null Hi all, We have a class response inherited from %JSON.Adaptor with the following properties, also dependent classes: #API #JSON #InterSystems IRIS 1 3 0 186
Question Kurro Lopez · Feb 7, 2024 Error debug from VS Hi community. Yes, I know that there is other question "VS Code - debugging doesn't work" that is the same issue, but my IRIS instance is not using IIS. Some times ago, I could debug without problems, but after some updates of Visual Studio, I get the following error Failed to start the debug session. Check that the Intersystems server's web server supports WebSockets #Debugging #JSON #ObjectScript #Studio #InterSystems IRIS #VSCode 1 3 0 193
Question Kurro Lopez · Feb 1, 2024 How to process parallelly a process from a business service? Hi community. I have an API that is deployed in my production (business service) and it calls to a business process to retrieve the information that is requested. The problem that I have is that the calls are queued and it's creating a bottleneck The business process is taking more time than needed. Is possible to configure the BP to process parallely the requests? #API #Business Process (BPL) #Business Service #InterSystems IRIS 1 4 0 220
Question Kurro Lopez · Jan 31, 2024 How to clone a namespace? Hi community, We have a developed a new version of a production, all the code is new and has changed BP. This application load information for some brands and stored in database. The customer wants to implement the changes only for some brands because he wants to check for small brands before to implement for all brands. My proposal is create a new namespace, with the new code, and disabled all load of brands except the brand that he wants to check. I'm wondering what is the best way to clone the namespace. #Backup #Databases #Namespace #InterSystems IRIS #InterSystems IRIS for Health 1 2 0 311
Article Kurro Lopez · Dec 8, 2023 8m read Open AI integration with IRIS - File management Artificial intelligence is not limited only to generating images through text with instructions or creating narratives with simple directions. You can also make variations of a picture or include a special background to an already existing one. Additionally, you can obtain the transcription of audio regardless of its language and the speed of the speaker. So, let's analyze how the file management works. #Artificial Intelligence (AI) #Business Operation #Framework #Generative AI (GenAI) #InterSystems IRIS #Open Exchange Open Exchange app 9 2 1 451
Article Kurro Lopez · Jun 19, 2023 8m read Open AI integration with IRIS As you all know, the world of artificial intelligence is already here, and everyone wants to use it to their benefit. There are many platforms that offer artificial intelligence services for free, by subscription or private ones. However, the one that stands out because of the amount of "noise" it made in the world of computing is Open AI, mainy thanks to its most renowned services: ChatGPT and DALL-E. #Artificial Intelligence (AI) #Business Operation #Framework #Generative AI (GenAI) #InterSystems IRIS Open Exchange app 15 6 3 1.3K
Question Kurro Lopez · Jun 1, 2023 Call to business operation dinamically from HL7 Router Hi all, I'm wondering if is possible to call to a BO from a HL7 Route according to a parameter of the HL7 Message I mean, According to the identify of the laboratory, I want to call to other TCP process to retrieve information about blood tests. We are creating the BO using this partern. LAB.BO.TCP. + name of the laboratory. The name of the laboratory is stoted in the lookup table T_LABORATORIOS I've tried to assign the name into a variable and put it in the "send" instruction, but it doesn't work. #Business Rules #HL7 #Interoperability #InterSystems IRIS 1 3 0 249