Qdrant Knowledge base Ingestion #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Qdrant Knowledge base Ingestion | |
| on: | |
| schedule: | |
| # Runs at 00:00 on the 1st of every month (UTC time) | |
| - cron: '0 0 1 * *' | |
| workflow_dispatch: | |
| jobs: | |
| run-script: | |
| runs-on: ubuntu-latest | |
| env: | |
| QDRANT_API_KEY: ${{ secrets.QDRANT_API_KEY }} | |
| QDRANT_URL: ${{ secrets.QDRANT_URL }} | |
| steps: | |
| - name: Import project files | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run script | |
| run: python ./knowledge/data_ingestion_qdrant.py |