Skip to content

Commit

Permalink
v1.0.5 (#102)
Browse files Browse the repository at this point in the history
* add ne route

* add new prompt

* tidy up

* add node to strip keyword

* exponential backoff for summarisation

* optimized prompt for summarisation

* build(deps-dev): bump cryptography from 43.0.3 to 44.0.1 in /ai-tests (#82)

Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.3 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@43.0.3...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump cryptography from 44.0.0 to 44.0.1 (#83)

Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.0 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@44.0.0...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* use final_res to determine log

* build(deps): bump cryptography from 43.0.3 to 44.0.1 in /django_app

Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.3 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@43.0.3...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: branch naming convention (#86)

* chore: branch naming convention

* linting throughout codebase

* update email/username relation

* revert changes to retriever

* rebase

* linting

* poetry has been messed with

* build(deps): bump cryptography from 44.0.0 to 44.0.1 in /notebooks (#84)

Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.0 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@44.0.0...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: text_in_answer already exists and prevents further migrations

* Revert "fix: text_in_answer already exists and prevents further migrations"

* chore: fix redbox tests (#90)

* fix: implement exponential backoff (#94)

* Update homepage.html (#99)

* Update homepage.html

* the solution to the formatting issue

---------

Co-authored-by: Natasha Boyse <[email protected]>

* If documents are not selected, they should not be used (#101)

* no documents returned if not selected

* ruff

---------

Co-authored-by: Saisakul Chernbumroong <[email protected]>

* fix: prevent 504 for user table (#100)

* fix: prevent 504 for user table

* assertion is redundant

* adding user id and chat id

* formatting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Saisakul Chernbumroong <[email protected]>
Co-authored-by: Saisakul Chernbumroong <[email protected]>
Co-authored-by: nora-errouhly <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nora Er-Rouhly <[email protected]>
Co-authored-by: Saisakul Chernbumroong <[email protected]>
Co-authored-by: zainabmohamoud <[email protected]>
  • Loading branch information
8 people authored Feb 19, 2025
1 parent f34b41f commit 6858a5f
Show file tree
Hide file tree
Showing 35 changed files with 889 additions and 534 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/branch-status-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Branch Naming Check

on:
push:
branches:
- '**' # Trigger on any push to any branch
pull_request:
branches:
- '**' # Trigger on PR creation

jobs:
check-naming-convention:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Check branch name
run: |
if [ "${{ github.event_name }}" == "push" ]; then
BRANCH_NAME="${GITHUB_REF#refs/heads/}"
elif [ "${{ github.event_name }}" == "pull_request" ]; then
BRANCH_NAME="${GITHUB_HEAD_REF}"
else
echo "Unsupported event: ${{ github.event_name }}"
exit 1
fi
echo "Checking branch name: $BRANCH_NAME"
# Define allowed naming patterns (Regex for feature, bugfix, etc.)
if [[ ! "$BRANCH_NAME" =~ ^(main|feature/.*|chore/.*|bugfix/.*|hotfix/.*|dependabot/.*|security/.*|dev)$ ]]; then
echo "Error: Invalid branch name '$BRANCH_NAME'. It must follow one of the following patterns:"
echo "- main"
echo "- feature/*"
echo "- chore/*"
echo "- bugfix/*"
echo "- hotfix/*"
echo "- dependabot/*"
echo "- security/*"
echo "- dev"
exit 1
fi
echo "Branch name is valid."
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'hotfix/**'
- 'dependabot/**'
- 'security/**'
- 'develop'
- 'dev'
workflow_dispatch:

permissions:
Expand Down
78 changes: 41 additions & 37 deletions ai-tests/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6858a5f

Please sign in to comment.