Skip to content

Commit

Permalink
Add a resume review AI command (#332)
Browse files Browse the repository at this point in the history
* Add OpenAI SDK and API key

* Functioning AI resume review

* Include prompt in code

* Add description

* Log responses so we can review them more easily
  • Loading branch information
vcarl authored Nov 15, 2023
1 parent 5f772a8 commit a28f4cc
Show file tree
Hide file tree
Showing 9 changed files with 523 additions and 27 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DISCORD_APP_ID=<required>
GUILD_ID=614601782152265748
GITHUB_TOKEN=
AMPLITUDE_KEY=
OPENAI_KEY=
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,5 @@ jobs:
--from-literal=GUILD_ID=${{ secrets.GUILD_ID }} \
--from-literal=GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
--from-literal=AMPLITUDE_KEY=${{ secrets.AMPLITUDE_KEY }} || echo \n
--from-literal=OPENAI_KEY=${{ secrets.OPENAI_KEY }} || echo \n
kubectl apply -k .
5 changes: 5 additions & 0 deletions cluster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ spec:
secretKeyRef:
name: reactibot-env
key: GUILD_ID
- name: OPENAI_KEY
valueFrom:
secretKeyRef:
name: reactibot-env
key: OPENAI_KEY
Loading

0 comments on commit a28f4cc

Please sign in to comment.