Home Applications langchain-iris-tool

langchain-iris-tool

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
40
Views
0
IPM installs
0
0
Details
Releases (2)
Reviews (1)
Issues
Contest
InterSystems IRIS LangChain Tool and AI Agent to ask IRIS

What's new in this version

new feature: List the server metrics (monitoring)

Gitter

langchain-iris-tool

Contains an implementation of a Langchain Tool (BaseTool) to do RAG operations on Intersystems IRIS Server.
It is a Chat Agent tool also. It is possible ask questions like:

  1. List the server metrics
  2. Return intersystems iris server information
  3. Save the global value Hello to the global name Greetings
  4. Get the global value Greetings
  5. Kill the global Greetings
  6. List the classes on IRIS Server
  7. Where is intersystems iris installed?
  8. Return namespace information from the USER
  9. List the CSP Applications
  10. List the server files on namespace USER
  11. List the jobs on namespace %SYS

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Docker (e.g. for dev purposes)

Clone/git pull the repo into any local directory

$ git clone https://github.com/yurimarx/langchain-iris-tool.git

Open the terminal in this directory and run:

$ docker-compose build
$ docker-compose up -d

Solutions used

  1. Ollama - private LLM and NLP Chat tool
  2. Lanchain - plataform to build AI agents
  3. Streamlit - Frontend framework
  4. InterSystems IRIS as a server to answer the questions about it

Testing

  1. Open the URL http://localhost:8501
UI 1
  1. Check out the Settings button used to the Agent connect the InterSystems IRIS
UI 2
  1. Ask one of the following questions and wait some seconds to see the results:
  • List the server metrics
  • Return intersystems iris server information
  • Save the global value Hello to the global name Greetings
  • Get the global value Greetings
  • Kill the global Greetings
  • List the classes on IRIS Server
  • Where is intersystems iris installed?
  • Return namespace information from the USER
  • List the CSP Applications
  • List the server files on namespace USER
  • List the jobs on namespace %SYS
UI 3
Made with
Version
1.0.129 Mar, 2025
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for HealthHealthShare
First published
27 Mar, 2025
Last edited
29 Mar, 2025