mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
🚀 feat: Add GitHub Actions Workflow for Generating Docs Embeddings (#2216)
This commit is contained in:
parent
5c3c28009f
commit
2259bf8b03
1 changed files with 20 additions and 0 deletions
20
.github/workflows/generate_embeddings.yml
vendored
Normal file
20
.github/workflows/generate_embeddings.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: 'generate_embeddings'
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
generate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: supabase/embeddings-generator@v0.0.5
|
||||||
|
with:
|
||||||
|
supabase-url: ${{ secrets.SUPABASE_URL }}
|
||||||
|
supabase-service-role-key: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
|
||||||
|
openai-key: ${{ secrets.OPENAI_DOC_EMBEDDINGS_KEY }}
|
||||||
|
docs-root-path: 'docs'
|
Loading…
Add table
Add a link
Reference in a new issue