This is a very simple jupyter notebook for using the openai API. It uses file uploads and asks questions to your uploaded documents from the API.
- Jupyter
- openai library
- Python 3^
pip install openai
- First start by running the notebook 'Text To Jsonl'
- Run either methods in the notebook 'convertByLine()' or 'convertByFullStop()'
- This converts the example text file provided in to jsonl format.
- Run Upload notebook to upload the json lines document previously converted.
- Run the Questions file which will ask a sample question of the document you have just uploaded