Skip to content

feat: Milvus storage connector (#1198) (#1400) #306

feat: Milvus storage connector (#1198) (#1400)

feat: Milvus storage connector (#1198) (#1400) #306

Workflow file for this run

# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-12-19T05:58:13.568Z
# You can view our full documentation here: https://docs.readme.com/docs/rdme
name: ReadMe GitHub Action (OpenAPI) 馃
env:
MEMGPT_PGURI: ${{ secrets.MEMGPT_PGURI }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
on:
push:
branches:
# This workflow will run every time you push code to the following branch: `main`
# Check out GitHub's docs for more info on configuring this:
# https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
- main
jobs:
rdme-openapi:
runs-on: ubuntu-latest
if: github.repository == 'cpacker/MemGPT' # TODO: if the repo org ever changes, this must be updated
steps:
- name: Check out repo 馃摎
uses: actions/checkout@v4
- name: "Setup Python, Poetry and Dependencies"
uses: packetcoders/action-setup-cache-python-poetry@main
with:
python-version: "3.11"
poetry-version: "1.7.1"
install-args: "--all-extras"
- name: Generate openapi.json file
run: |
poetry run memgpt quickstart
poetry run memgpt server &
CMD_PID=$!
sleep 5 # Wait for 5 seconds
kill -SIGINT $CMD_PID
- name: Run `openapi` command (file 1) 馃殌
uses: readmeio/rdme@v8
with:
rdme: openapi openapi_memgpt.json --key=${{ secrets.README_API_KEY }} --id=6581305097523b004eedfd16
- name: Run `openapi` command (file 2) 馃殌
uses: readmeio/rdme@v8
with:
rdme: openapi openapi_assistants.json --key=${{ secrets.README_API_KEY }} --id=65cd16e8798bc7000fdab1cb