Re:Role-playing with AI will be a powerful tool for writers ...
by airstrike on Tuesday December 12, 2023 @02:14PM
(#38616903)
> Setting Up the Environment
> To set up your environment, you will need to generate a utils.py file that contains your OpenAI API key and download the necessary packages.
> Step 1. Generate Utils File
> In the reverie/backend_server folder (where reverie.py is located), create a new file titled utils.py and copy and paste the content below into the file:
# Copy and paste your OpenAI API Key
openai_api_key = "<Your OpenAI API>"
I guess it still relies on OpenAI
Re:Role-playing with AI will be a powerful tool for writers ...
by tetris11 on Tuesday December 12, 2023 @02:54PM
(#38617505)
Right, sorry I forgot to add you can override the url with `OPENAI_API_BASE` and point it to a text-generation-ui OpenAI API[0] compliant model.
0: https://github.com/oobabooga/text-generation-webui/discussio...
https://github.com/a16z-infra/ai-town