Init
You can read my article on how I made the application
https://community.intersystems.com/post/cookbook-preparing-your-own-assistant-meetings
The iris-recorder-helper application is an assistant in recording audio sessions with subsequent decoding of audio into text and summarizing up or other things (to your taste).
The application is based on InterSystems IRIS, Python (Flask, SQLALchemy ORM) and simple Javascript with jQuery and Bootstrap 5
Watch a demo of how the service works https://www.youtube.com/watch?v=O2yh-jorDs4
git clone https://github.com/alexnxela/iris-recorder-helper.git
./docker-build.sh
docker-compose run iris irispython ./rh/flask/app/configer.py
docker-compose up -d
Install with IPM
zpm "install iris-recorder-helper"
You should put the parameters file here ./rh/flask/app/config.json
{
"OPENAI_KEY": "sk-***",
"OPENAI_MAX_TEMP": 0.9,
"IRIS_URL":"iris://_SYSTEM:SYS@iris:1972/USER"
}
You can get the key OPENAI_KEY here https://platform.openai.com/account/api-keys
# attach to the running IRIS container
docker-compose exec iris bash
# run the script
$ irispython ./rh/flask/main.py
Dmitry Maslennikov for sqlalchemy-iris library (An InterSystems IRIS dialect for SQLAlchemy ) which was helpful to connect with IRIS