Tooling to assist CSRs
poetry shell
poetry install
Run pylint
and make sure code is up to the standards before commit changes to git. If you encounter any linter errors that
you feel are due to the rules being too strict, feel free to annotate your code with exclusion pragmas, or we may consider
changing the rules itself - either way, please discuss during code review.
Ex:
pylint ocr_integration/*.py
cd ocr_integration && pylint ocr.py
(The following information is accurate up to 032cd495af775114194fb91f9cfc54cc968f9fbf)
To demonstrate the integration of Slack, Discord, and the ocr and stringlist seantics tools:
discord_integration/README.md
and slack_integration/README.md
, add your bots to the relevant channels.cd discord_integration && DISCORD_BOT_TOKEN=$(cat ~/secrets/aipa.csrassist.discord.test.token.txt) python discord_bot.py
cd slack_integration && SLACK_BOT_TOKEN=$(cat ~/secrets/aipa.csrassist.slack.test.SLACK_BOT_TOKEN.txt) SLACK_SIGNING_SECRET=$(cat ~/secrets/aipa.csrassist.slack.test.SLACK_SIGNING_SECRET.txt) OPENAI_API_KEY=$(cat ~/secrets/openai.txt) python slack_bot.py
ngrok http 3000
/slack/events
suffix).