Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (22 loc) · 631 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 631 Bytes

qna-helper

CLI-utility for answering questions stored in .csv using davinci-003. Output file is also .csv.

Requirements

  • Docker, Docker compose
  • input filename should be questions.csv
  • delimiter should be ;

Usage

Setup OPENAI_API_KEY in .env file.

make compose-setup
make compose
usage: qna-helper [options]

answer questions using davinci-003

options:
  -h, --help            dispaly help for command
  -i INPUT_FILE, --input_file INPUT_FILE
                        csv file to parse
  -o OUTPUT_FILE, --output_file OUTPUT_FILE
                        csv file to save answers