Skip to content

MIRIDIH-2023/Contents_Copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Contents Generator with GPT-model

OpenAI

Setup python environment

conda create -n PE python=3.11.4

Install other dependencies

pip install -r requirements.txt

Install chromadb for Wikipedia If you meet error, check this out: chroma-core/chroma#189 (comment)

Repository Structure

.
β”‚  .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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages