Skip to content

Commit

Permalink
More protection against embeddings rate limit failures
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Oct 9, 2024
1 parent ef2b4c8 commit 9045d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
cd main
# Fetch embeddings for documents that need them
openai-to-sqlite embeddings tils.db \
--sql 'select path, title, topic, body from til'
--sql 'select path, title, topic, body from til' || true
# Now calculate and save similarities
if sqlite-utils rows tils.db similarities --limit 1; then
# Table exists already, so only calculate new similarities
Expand Down

0 comments on commit 9045d80

Please sign in to comment.