Skip to content

Commit

Permalink
update embeddings workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-volz committed Sep 18, 2023
1 parent 125cc18 commit 4483a65
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/wiki_scraping_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ jobs:
pip install -r requirements.txt
working-directory: ./job

- name: Run the script
run: python ./job/app.py
- name: Embeddings for DefichainWiki
run: python ./job/wiki_embedding.py
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SUPABASE_URL: ${{ vars.STAGING_SUPABASE_API_URL }}
SUPABASE_KEY: ${{ secrets.STAGING_SUPABASE_API_ANON_KEY }}

- name: Embeddings for DefichainPython
run: python ./job/defichainpython_embedding.py
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SUPABASE_URL: ${{ vars.STAGING_SUPABASE_API_URL }}
Expand Down

0 comments on commit 4483a65

Please sign in to comment.