Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/trigger-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger Embed Service
env: # The API keys are the same as those used by the AI Assistant. There is only one (production) database.
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
curl -X POST https://apollo.staging.openfn.org/services/embed_docsite \
-H "Content-Type: application/json" \
-d '{
"pinecone_api_key": "${{ secrets.PINECONE_API_KEY }}",
"openai_api_key": "${{ secrets.OPENAI_API_KEY }}"
}'
"api_key": "${{ secrets.APOLLO_PROD_API_KEY }}"
}'
Loading