Before running the script, ensure you have the following files in the project directory:
.openai_api_key
– A file containing your OpenAI API key..base_prompt
– A file containing the base prompt to which product names will be appended.
- Create and activate a virtual environment:
python3 -m venv .venv .venv\Scripts\activate
- Install dependencies
pip install openai
- Run
python NameDecoder.py