I thought what is the simplest implementation of openAi I could put into fiveM and made this resource,
To use this resource, follow these steps:
- In-game, type
/ai
followed by your question or prompt. - The script will send your query to the OpenAI API and output the response back