Currently still reliant on CC:Tweaked libraries, with full independance planned to enable other Lua environments...
Used By DavinCC For Conversations
- gpt-4
- gpt-4-32k
- gpt-3.5-turbo
- text-davinci-003
- text-curie-001
- text-babbage-001
- text-ada-001
- Run
git clone https://github.com/LDexter/openai-lua.git
- Sign-in and access your private API key
- Paste the API key into
template.env
, replacing the sample key - Rename template.env to just .env
Now your key will not be publicised through git.
Check out examples.lua
for sample code that prompts Davinci and prints the reply text.