You can enable Graphite, Nhost’s AI service, with the following steps:
Check your database version
Check your project’s settings and make sure the database version is at least
14.6-20231018-1. If it isn’t upgrade your database version (latest available version is recommended).
Get an OpenAPI key
Get an OpenAI API key from their customer portal.
Configure the service
Finally, you can head to your project’s settings -> AI section and enable the service or, alternatively, use your TOML configuration file to enable the service: