* Update cognify and the networkx client to prepare for running in Neo4j * Fix for openai model * Add the fix to the infra so that the models can be passed to the library. Enable llm_provider to be passed. * Auto graph generation now works with neo4j * Added fixes for both neo4j and networkx * Explicitly name semantic node connections * Added updated docs, readme, chunkers and updates to cognify * Make docs build trigger only when changes on it happen * Update docs, test git actions * Separate cognify logic into tasks * Introduce dspy knowledge graph extraction --------- Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
57 lines
No EOL
1.1 KiB
YAML
57 lines
No EOL
1.1 KiB
YAML
name: util docs | build and deploy
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
RUNTIME__LOG_LEVEL: ERROR
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
|
|
|
|
# get_docs_changes:
|
|
# name: run docs changes
|
|
# uses: ./.github/workflows/get_docs_changes.yml
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
# needs: get_docs_changes
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Poetry
|
|
uses: snok/install-poetry@v1.3.1
|
|
- name: Use output
|
|
run: echo "The stage is finished"
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
|
|
- name: Install APT packages
|
|
run: |
|
|
sudo apt-get update &&
|
|
sudo apt-get install pngquant
|
|
|
|
- name: Install via Poetry
|
|
run: poetry install --with dev,docs
|
|
|
|
env:
|
|
GH_TOKEN: ${{ secrets.PAT_FOR_CROSS_REPOS_CICD_TRIGGERING }}
|
|
|
|
- name: Build and deploy MkDocs
|
|
run: poetry run mkdocs gh-deploy --force |