feature: add fall back response if there is no chunks above the score threshold #596
This file contains 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: Frontends test suite | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- "frontends/**" | |
- "clients/ts-sdk/**" | |
jobs: | |
build-test: | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Running Build | |
run: yarn build | |
eslint: | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Running lint | |
run: yarn lint:CI | |
- name: Annotate Search Linting Results | |
uses: ataylorme/eslint-annotate-action@1.0.4 | |
if: always() | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "./frontends/search/eslint_report.json" | |
- name: Annotate Chat Linting Results | |
uses: ataylorme/eslint-annotate-action@1.0.4 | |
if: always() | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "./frontends/chat/eslint_report.json" | |
- name: Annotate Dashboard Linting Results | |
uses: ataylorme/eslint-annotate-action@1.0.4 | |
if: always() | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "./frontends/dashboard/eslint_report.json" |