Work in Progress
dvc pull
cd packages/googlecloud/functions
pip install -r requirements.txt
OPENAI_API_KEY=sk-XXX functions-framework --target=getanswer --debug
curl -XPOST http://localhost:8080 -v -H "Content-Type: application/json" \
-d '{"query":"Is surveillance effective?","response_type":"in_depth"}'
packages/backend
: Preprocessor, only needs to be run once
packages/googlecloud
: Google Cloud Function invoked for every query
packages/web
: NextJS web site