Skip to content

Commit

Permalink
test pr action
Browse files Browse the repository at this point in the history
Signed-off-by: ChengZi <[email protected]>
  • Loading branch information
zc277584121 committed May 29, 2024
1 parent 6096264 commit 148af00
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Workflow for Black

on: [push, pull_request]

jobs:
Black-Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: psf/black@stable
with:
options: "--check --diff --verbose"
src: "./bootcamp/tutorials"
jupyter: true
#name: Workflow for Black
#
#on: [push, pull_request]
#
#jobs:
# Black-Check:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - uses: psf/black@stable
# with:
# options: "--check --diff --verbose"
# src: "./bootcamp/tutorials"
# jupyter: true
33 changes: 33 additions & 0 deletions .github/workflows/pr_to_milvus_doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Workflow that generate a PR to milvus doc

on:
push:
paths:
- 'bootcamp/tutorials/**'

jobs:
PR-to-Milvus-Doc:
runs-on: ubuntu-latest
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Clone milvus-docs repository
run: |
git config --global user.email [email protected]
git config --global user.name Chengzi
git clone https://user:[email protected]/milvus-io/milvus-docs.git
cd milvus-docs
torch milvus-docs/site/en/integrations/test_file.py
git add .
git commit -m "Update evaluation_with_ragas.md"
git push
2 changes: 1 addition & 1 deletion bootcamp/tutorials/integration/evaluation_with_ragas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"\n",
"The RAG system combines a retrieval system with a generative model to generate new text based on a given prompt. The system first retrieves relevant documents from a corpus using a vector similarity search engine like Milvus, and then uses a generative model to generate new text based on the retrieved documents.\n",
"\n",
"[Ragas](https://docs.ragas.io/en/latest/index.html#) is a framework that helps you evaluate your RAG pipelines. There are existing tools and frameworks that help you build these pipelines but evaluating it and quantifying your pipeline performance can be hard. This is where Ragas (RAG Assessment) comes in.\n",
"[Ragas](https://docs.ragas.io/en/latest/index.html#) is a framework that help you evaluate your RAG pipelines. There are existing tools and frameworks that help you build these pipelines but evaluating it and quantifying your pipeline performance can be hard. This is where Ragas (RAG Assessment) comes in.\n",
"\n",
"\n",
"\n",
Expand Down

0 comments on commit 148af00

Please sign in to comment.