eclipsesource/ide-ai-assistant

Create backend layer to access OpenAI API

Closed this issue · 0 comments

Add a layer that serves as a gateway to the OpenAI API. The service should be able to use the request body sent from the UI, append headers and call the OpenAI endpoint. The API key and endpoint must be read from a config file.
The service should return the success or error response back to the frontend appropriately.