Skip to content

tapilab/sawt-eval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sawt

Work in Progress

Prerequisites

Quickstart

  1. Pull data: dvc pull
  2. Start cloud function locally:
cd packages/googlecloud/functions
pip install -r requirements.txt
OPENAI_API_KEY=sk-XXX functions-framework --target=getanswer --debug
  1. Get answer:
curl -XPOST http://localhost:8080 -v -H "Content-Type: application/json" \
    -d '{"query":"Is surveillance effective?","response_type":"in_depth"}'

Project structure

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.8%
  • TypeScript 28.1%
  • Jupyter Notebook 19.1%
  • SCSS 2.1%
  • Other 0.9%