This is the easiest assistant for accessing chatgpt
USER>w ##class(dc.irisprettygpt.main).prompt("please return random name")
Alex
Set the environment variable for chatgpt (OpenAI)
API_CHATGPT_KEY=sk-xxx
or you can pass the key as the second parameter
USER>w ##class(dc.irisprettygpt.main).prompt("please return random name", "sk-xxx")
- Clone/git pull the repo into any local directory
git clone https://github.com/alexnxela/iris-pretty-gpt.git
2Run the IRIS container:
docker-compose up -d
Install with IPM
zpm "install irisprettygpt"
docker-compose up -d