Make sure Python libraries are installed and put your API key and endpoint into environmental variables.
export OPENAI_API_KEY=yourkey
export OPENAI_API_URL=https://yourendpoint
pip install openai
In src/summarization folder there is file text.txt - put you input there and then run the script python generate.py
which will output results into output.csv file.
See example data and code in src/parsing folder.
Example with movie descriptions: [notebooks/movies.ipynb](./notebooks/movies.ipynb
Chatbot for shopping assistant for presents. Prompt-engineered to offer only in selected category, loading customer memory, using OpenAI function to call database for getting stock items.