Skip to content

Commit

Permalink
added openAI results
Browse files Browse the repository at this point in the history
  • Loading branch information
mauruswollensak committed Mar 25, 2024
1 parent 07e82dc commit 45000ac
Show file tree
Hide file tree
Showing 3 changed files with 2,606 additions and 0 deletions.
61 changes: 61 additions & 0 deletions notebooks/playground.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Playground"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"# Import\n",
"import os\n",
"\n",
"# Third party libraries\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"working_directory = os.path.split(os.getcwd())\n",
"output_dir = os.path.join(working_directory[0], \"outputs\")\n",
"\n",
"with open(os.path.join(output_dir, \"results_openAI.json\")) as f:\n",
" data = pd.read_json(f)\n",
"\n",
"with open(os.path.join(output_dir, \"results_openAI.csv\"), \"w\") as f:\n",
" data.to_csv(f, header=True, index=False)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

0 comments on commit 45000ac

Please sign in to comment.