Python tool for labeling grocery products with OpenAI's GPT models.
The prompt used in this repository is not included in the repo for intellectual property reasons.
To replicate or use this code, you must define the prompt returned by a function (get_prompt
) in a new file (prompt.py
).
Set in query.py
:
API-KEY
path/to/source.csv
path/to/results.csv
#
of chunks to divide the set- Refine the prompt to your needs
Run it.