Adding Heroku Endpoint to App

Head over to Heroku:

Select your app > settings > Scroll to domains

You can find your domain under the red box. Copy it and head over to your app.

In the file AppConfig, Change example.com with your copied domain.

static let endPointOne: String = "example.com/openai/xxx"

Your app can now communicate with OpenAI !

If you need to create custom functions, head over to OpenAIQueries and start customizing your functions. Happy coding !

Last updated