New post

Encontrar

Question
· Aug 20, 2024

Business Process, pool size and external program call (FOP) via $ZF

Question: can a business process with pool size > 1 invoke external programs in parallel via $ZF(-100)?

We have a production that takes HL7 (ORU_R01) messages in and produces a PDF from each one for onward transmission to a document store.

The PDF creation is implemented in a business process which transforms the HL7 to XML, saves the XML to the filesystem, then calls Apache FOP (the version distributed with Ensemble) via $ZF(-100) to produce the PDF, which is stored on the filesystem. The call to FOP takes the name of the XML file, the name of a stylesheet file (one of three, depending on the contents of the HL7 message), and the name of the output file for storing the PDF. The XML and PDF filenames are guaranteed to be unique.

This works smoothly when the pool size for the business process is 1.

However, when pool size > 1 many (most?) of the Apache FOP calls fail to complete, but don't generate errors. To Ensemble they appear to complete successfully, but don't produce a PDF (and run too quickly - in normal operation they are taking 1.5s-2s per PDF, but when executed in parallel the ones that fail appear to be failing pretty much instantly).

Is the problem $ZF, or is it something specific to FOP that stops it being called simultaneously from Ensemble? (We've called FOP from 2x scripts in parallel outside of Ensemble, and that appears to work.)

2 Comments
Discussion (2)2
Log in or sign up to continue
Question
· Aug 20, 2024

Override a Method in VS Code?

Is there a wizard to override pieces of class (parameters, properties, methods, etc.) like there is in Studio? I can't find this functionality anywhere. If it's not there, it's certainly a piece I'll sorely miss as we transition to VS Code.

2 Comments
Discussion (2)3
Log in or sign up to continue
Article
· Aug 20, 2024 1m read

Primera búsqueda vectorial en IRIS

Hay un montón de grandes artículos de la comunidad con respecto a la «búsqueda de vectores en IRIS», y ejemplos en OpenExchange. Cada vez que los veo, ¡me encanta saber que tantos desarrolladores ya prueban los vectores en IRIS!

Pero si todavía no has probado los vectores en IRIS, dame un minuto y lo vemos 😄: creamos una clase IRIS y con eso ya es suficiente para ver cómo pones datos vectoriales en tu base de datos IRIS y cómo los comparas en tu aplicación.

Podéis ver el código fuente en OpenExchange «First-Vector-Search-on-IRIS».

---

(1) Esta clase incluye dos propiedades

  • "feedback" como %String
  • "feedbackv" como %Vector (vector value), generada a partir de "feedback".

      

(2) Esta clase tiene el método «search», que devuelve las filas en orden de «mejor feedback» comparando los vectores «feedbackv».

 

---

La guía paso a paso se describe en la página de OpenExchange page.
Espero que mi ejemplo y otros artículos de la comunidad le animen a probar la búsqueda vectorial en nuestro producto.

Discussion (0)1
Log in or sign up to continue
Article
· Aug 20, 2024 8m read

d[IA]gnosis : développement d'applications RAG avec IRIS for Health

Avec l'introduction des types de données vectorielles et de la fonctionnalité de recherche vectorielle dans IRIS, tout un univers de possibilités de développement d'applications s'ouvre et un exemple de ces applications est celui que j'ai récemment vu publié dans un appel d'offres public du Ministère régional de la santé de Valence demandant un outil d'aide au codage de la CIM-10 à l'aide de modèles d'IA.

Comment pourrions-nous mettre en œuvre une application similaire à celle demandée? Voyons ce dont nous aurions besoin:

Discussion (0)1
Log in or sign up to continue
Question
· Aug 20, 2024

Hi Experts Can you advise how to setup a nic for VIP and mirroring

Hi Experts Can you advise how to setup a nic for VIP ?

Can you confirm that using this command is the correct

ip addr add *.*.*.*/2 dev nic?

 

then configure the VirtualAddressInterface in iris.cpf

restart and end enable in the smp?

thank you in advance

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