Added the following functionalities
Fixed issues
Libraries to use the OpenAI API methods in a simple way and integrated with an IRIS production
There are some libraries for connecting to the OpenAI API via Python, Java, C#, etc., but no library for ObjectScript.
With these classes, you can connect directly to the OpenAI API, and you can interact with them only using request and response messages prepared to connect to OpenAI.
Make sure you have git and Docker desktop installed.
git clone https://github.com/KurroLopez/iris-openai.git .\iris-openai
Open the terminal in this directory and run:
$ docker-compose build
$ docker-compose up -d
Step 1: Create your production and insert a new Business Operation called “St.OpenAi.OpenAi” using the class with the same name.
Step 2: Modify the component’s properties to include the Secret Key and OrganizationID
There is a demo created in this composition to check the connection with OpenAI.
Also, there is a Postman collection exported to test. It’s prepared to connecto with Docker compose.