Article Alex Woodhead · Mar 24, 2024 8m read Python BPL in preview BPL from 10,000 feet BPL stands for Business Process Language.This is an XML format for describing complex information orchestration interactions between systems.InterSystems Integration engine has for two decades, provided a visual designer to build, configure, and maintain, BPL using a graphical interface.Think of it like drawing a process flow diagram that can be compiled and deployed. #Business Process (BPL) #Python #Tutorial #InterSystems IRIS 10 4 0 374
Article Alex Woodhead · Jan 26, 2024 8m read PrivateGPT exploring the Documentation Considering new business interest in applying Generative-AI to local commercially sensitive private data and information, without exposure to public clouds. Like a match needs the energy of striking to ignite, the Tech lead new "activation energy" challenge is to reveal how investing in GPU hardware could support novel competitive capabilities. The capability can reveal the use-cases that provide new value and savings. Sharpening this axe begins with a functional protocol for running LLMs on a local laptop. #Apple macOS #Best Practices #Generative AI (GenAI) #Large Language Model (LLM) #Machine Learning (ML) #Documentation 14 3 8 1.3K
Article Alex Woodhead · Sep 5, 2023 8m read Embedded Python Stored Procedure Overview The online documentation contains a reference Defining and Using Class Queries - Customizing Stored Procedures with ObjectScript directly has been useful to access NoSQL storage and external messaging via integration, to present output in tabular format. #Embedded Python #Globals #Interoperability #SQL #InterSystems IRIS 4 0 0 358
Article Alex Woodhead · Jul 17, 2023 1m read Integration Helper - Display Request and Response Message types In response to a community question asking to view Request and Response message types in Production settings.. A community helper class was implemented should people need this. ( alwo.EnsHelper.HostRequestResponseInfo ) Install zpm install alwo-enshelper The code may serve as an example, to project bespoke configuration into Production settings. #Interoperability #InterSystems IRIS Open Exchange app 6 1 2 250
Question Alex Woodhead · Jun 30, 2023 Supporting Licensed IPM (ZPM) products Motive Am just plain curious about how people may be approaching this area. The Question The %SYSTEM.License API wraps an IRIS key that is specific to a range of InterSystems products with Platform features Platform behaviors Expiry date Capacity / Usage limits If a company is implementing deployed products that: run on top of IRIS optionally support other vendor IRIS products For example: #InterSystems Package Manager (IPM) #InterSystems IRIS 0 2 0 219
Article Alex Woodhead · Jun 20, 2023 2m read Python Shell - Grab last expression output and put back into variable. An Underscore Tip Excuse if this is obvious to Python programmers but for those crossing over from ObjectScript this may be a useful tip. The scenario is developing some Embedded python commands. Testing out functionality is being confirmed via the shell: $SYSTEM.Python.Shell() Python 3.9.5 (default, Mar 14 2023, 06:58:44) [MSC v.1927 64 bit (AMD64)] on win32 Type quit() or Ctrl-D to exit this shell. >>> When Python evaluates an expression in the shell, it prints the result of the expression to the terminal. #Embedded Python #ObjectScript #InterSystems IRIS 2 0 0 262
Article Alex Woodhead · Jun 16, 2023 2m read Darker docs on Firefox with Dyslexic friendlier font An interim idea to bring more dark to the docs with different font. Process: In Firefox web browser address bar navigate to: "about:support" Look for label "Profile Folder", and click on the corresponding "Open Folder" button. Drill-down / Open sub-folder called Chrome. Create file here called: userContent.css Content of file: #Documentation 2 0 0 185
Article Alex Woodhead · Jun 15, 2023 6m read LangChain InterSystems PDF to Interview Questions and FlashCards Demonstration example for the current Grand Prix contest for use of a more complex Parameter template to test the AI. Interview Questions There is documentation. A recruitment consultant wants to quickly challenge candidates with some relevant technical questions to a role. Can they automate making a list of questions and answers from the available documentation? Interview Answers and Learning One of the most effective ways to cement new facts into accessible long term memory is with phased recall. #Artificial Intelligence (AI) #ChatGPT #Large Language Model (LLM) #Python #InterSystems IRIS 2 0 0 1.3K
Article Alex Woodhead · Jun 14, 2023 2m read LangChain Ghost in the PDF Posing a question to consider during the current Grand Prix competition. I wanted to share an observation about using PDFs with LangChain. When loading the text out of a PDF, I noticed there was an artifact of gaps within some of the words extracted. For example (highlighted in red) #Artificial Intelligence (AI) #Large Language Model (LLM) #InterSystems IRIS 1 0 0 270
Article Alex Woodhead · Jun 13, 2023 3m read LangChain on InterSystems PDF documentation Yet another example of applying LangChain to give some inspiration for new community Grand Prix contest. I was initially looking to build a chain to achieve dynamic search of html of documentation site, but in the end it was simpler to borg the static PDFs instead. #Artificial Intelligence (AI) #Best Practices #Generative AI (GenAI) #Large Language Model (LLM) #Python #InterSystems IRIS 7 4 2 1.2K
Article Alex Woodhead · Jun 12, 2023 3m read LangChain fixed the SQL for me This article is a simple quick starter (what I did was) with SqlDatabaseChain. Hope this ignites some interest. Many thanks to: sqlalchemy-iris author @Dmitry Maslennikov Your project made this possible today. The article script uses openai API so caution not to share table information and records externally, that you didn't intend to. A local model could be plugged in , instead if needed. #Artificial Intelligence (AI) #Best Practices #Large Language Model (LLM) #Python #SQL #InterSystems IRIS 9 7 3 3.4K
Article Alex Woodhead · Jun 10, 2023 5m read Dynamically creating an HL7 message from IRIS Embedded Python Written in reply to community post for can Python create HL7 Message dynamically. Pre-requisites and setup Use an integration enabled namespace.Note: USER namespace is not enabled for interoperability by default.If following suggest create a new interoperatibility namespace to explore functionality. # Switch toZN "[Interoperability Namespace Name]" # Launch interactive Python shell:Do $SYSTEM.Python.Shell() #Embedded Python #HL7 #InterSystems IRIS for Health 4 0 2 479
Article Alex Woodhead · Apr 24, 2023 3m read Embedded Python access to Multidimensional Properties Multidimensional properties can be found on certain classes. These operate as a collection of values much like a Python dictionary. Examples of properties that might be encountered: Class Property Description %Net.HttpRequest Params Name value pair of form parameters %Net.HttpResponse Headers HTTP Headers returned with web content returned: #Embedded Python #InterSystems IRIS Open Exchange app 4 0 0 372
Article Alex Woodhead · Apr 16, 2023 4m read Tuples ahead Overview Cross-Skilling from IRIS objectScript to Python it becomes clear there are some fascinating differences in syntax. One of these areas was how Python returns Tuples from a method with automatic unpacking. Effectively this presents as a method that returns multiple values. What an awesome invention :) out1, out2 = some_function(in1, in2) ObjectScript has an alternative approach with ByRef and Output parameters. Do ##class(some_class).SomeMethod(.inAndOut1, in2, .out2) Where: #API #Embedded Python #ObjectScript #Python #InterSystems IRIS #InterSystems IRIS for Health Open Exchange app 3 0 0 490
Article Alex Woodhead · Jan 28, 2023 3m read Using Ompare to compare CPF configuration and Scheduled Tasks between IRIS instances Some Usage cases 1. A deployment may consist of two high availability instances and two disaster recovery instances in a different data center. The corresponding UAT environment could replicate this giving a total of 8 instances. How do you confirm CPF and Scheduled task alignment across ALL instances. #Change Management #Continuous Delivery #Deployment #DevOps #High Availability #Monitoring #System Administration #Open Exchange Open Exchange app 3 2 0 401