conda create -n PE python=3.11.4
pip install -r requirements.txt
Install chromadb for Wikipedia If you meet error, check this out: chroma-core/chroma#189 (comment)
.
β .env # OPENAI_API_KEY=<Your own API key>
β .gitignore
β README.md
β requirements.txt
β
ββcore
β β FewShotCoT.py
β β JF_PT.py
β β __init__.py
β β
β ββcommon
β β β utils.py
β β
β ββfew_shot_example
β β β examples.py
β β β __init__.py
β
ββdemo
β few_shot.py
β ReAct_Doc.py
β scenario.py
β scenario2.py
β
ββgeneration
fewShot_format_en.json
scenario2_format_en.json
scenario_format.json
scenario_format_en.json