This was a fun mini project I did during my holidays. I hope it helps you integrate openai prompts into your system.
- Abap Class Z_OPENAI_COMPLETION wich lets you choose a few relevant parameters like the ai model and execute prompts
- Abap Report Z_TEST_OPENAI_COMPLETION wich can be used to execute a prompt or test your connections
- Test Report
Query:
Answer:
To sucessfully execute prompts, you need your own key, wich can be obtained here:
There is a 5$ trial credit, you can use.
Also add every ssl certificate you can get from www.openai.com and api.openai.com via STRUST transaction.