Skip to content

Commit

Permalink
Save vector embeddings of story summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
depsypher committed Nov 16, 2024
1 parent 21526a8 commit 9d6c213
Show file tree
Hide file tree
Showing 7 changed files with 252 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ jobs:
mailgun-domain: ${{ secrets.MAILGUN_DOMAIN }}
mailgun-key: ${{ secrets.MAILGUN_KEY }}
anthropic-key: ${{ secrets.ANTHROPIC_KEY }}
voyageai-key: ${{ secrets.VOYAGEAI_KEY }}
4 changes: 4 additions & 0 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ describe("action", () => {
return process.env.INPUT_MAILGUN_DOMAIN as string;
case "mailgun-key":
return process.env.INPUT_MAILGUN_KEY as string;
// case "anthropic-key":
// return process.env.INPUT_ANTHROPIC_KEY as string;
// case "voyageai-key":
// return process.env.INPUT_VOYAGEAI_KEY as string;
default:
return "";
}
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ inputs:
description: "Anthropic api key"
required: false

voyageai-key:
description: "Voyage AI api key"
required: false

runs:
using: node20
main: dist/index.js
Loading

0 comments on commit 9d6c213

Please sign in to comment.