Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 722 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 722 Bytes

iris-prettygpt

This is the easiest assistant for accessing chatgpt

Example of use

USER>w ##class(dc.irisprettygpt.main).prompt("please return random name")

Alex

Setup

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")

Configuration

  1. 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"

How to run it

docker-compose up -d