Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2 KB

README.md

File metadata and controls

41 lines (30 loc) · 2 KB

Sawt

Work in Progress

Sawt is a tool designed to bridge the communication gap between New Orleanians and their city council representatives.

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