Skip to content

Evaluators now return candidates with a score, adding embedding distance #31

Evaluators now return candidates with a score, adding embedding distance

Evaluators now return candidates with a score, adding embedding distance #31

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
poetry-version: ["1.3.1"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
poetry install --no-interaction --no-root --all-extras -vvv
pip install wheel
pip install --upgrade setuptools
pip install --editable ".[test,examples,dev]"
pip install pytest pytest-describe
- name: Run Tests
run: python -m pytest
- name: Run BenchLLM examples
run: bench run examples
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}