Skip to content

Commit a28f4cc

Browse files
authored
Add a resume review AI command (#332)
* 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
1 parent 5f772a8 commit a28f4cc

File tree

9 files changed

+523
-27
lines changed

9 files changed

+523
-27
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ DISCORD_APP_ID=<required>
44
GUILD_ID=614601782152265748
55
GITHUB_TOKEN=
66
AMPLITUDE_KEY=
7+
OPENAI_KEY=

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,5 @@ jobs:
9090
--from-literal=GUILD_ID=${{ secrets.GUILD_ID }} \
9191
--from-literal=GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
9292
--from-literal=AMPLITUDE_KEY=${{ secrets.AMPLITUDE_KEY }} || echo \n
93+
--from-literal=OPENAI_KEY=${{ secrets.OPENAI_KEY }} || echo \n
9394
kubectl apply -k .

cluster/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@ spec:
4848
secretKeyRef:
4949
name: reactibot-env
5050
key: GUILD_ID
51+
- name: OPENAI_KEY
52+
valueFrom:
53+
secretKeyRef:
54+
name: reactibot-env
55+
key: OPENAI_KEY

0 commit comments

Comments
 (0)