We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a69f6e + 214b07e commit 9fe48a0Copy full SHA for 9fe48a0
.github/workflows/trigger-embed.yml
@@ -0,0 +1,22 @@
1
+name: Trigger Embed Service
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ trigger-embed:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Trigger Embed Service
13
+ env: # The API keys are the same as those used by the AI Assistant. There is only one (production) database.
14
+ PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
15
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
16
+ run: |
17
+ curl -X POST https://apollo.staging.openfn.org/services/embed_docsite \
18
+ -H "Content-Type: application/json" \
19
+ -d '{
20
+ "pinecone_api_key": "${{ secrets.PINECONE_API_KEY }}",
21
+ "openai_api_key": "${{ secrets.OPENAI_API_KEY }}"
22
+ }'
0 commit comments