Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
f12039c
Ignore generated configuration files
Archer6621 Jan 20, 2025
89a0d9d
Add necessary configurations and scripts for modularity restructure
Archer6621 Jan 20, 2025
c78e447
Move all modules to the module folder with accompanying compose.yml f…
Archer6621 Jan 20, 2025
41b202e
Make it possible to start multiple specific modules together
Archer6621 Jan 20, 2025
0cd3058
Make Quasar front-end + backend use the generated env variables
Archer6621 Jan 20, 2025
ff9ecf7
Partially fix old gradio frontend
Archer6621 Jan 22, 2025
cea0318
Adapt text-to-triple module to use new modular structure
Archer6621 Jan 22, 2025
66ce0f2
Adapt all other modules to modular structure, and fix incorrect test …
Archer6621 Jan 22, 2025
851915e
Fix naming issues
Archer6621 Jan 22, 2025
473c6c0
Rename the modules to a more sensible pattern, add text-to-triple-llm
Archer6621 Jan 30, 2025
5a5bc44
Simplify the pipe-line to make the flow of data linear among the core…
Archer6621 Feb 4, 2025
d199d3e
Fix tests for Quasar frontend/backend to suit new project structure
Archer6621 Feb 4, 2025
40c722c
Adapt rule based text-to-triples test suite to new structure
Archer6621 Feb 11, 2025
d97053d
Fix LLM based text-to-triples and adapt test suite
Archer6621 Feb 11, 2025
4ac477c
Adapt reasoner module test suite to restructure, split reason route f…
Archer6621 Feb 11, 2025
4253e92
Adapt test suite of response generator to new (state-less) structure
Archer6621 Feb 11, 2025
78ac0ce
Standardize the main input route name for the modules
Archer6621 Feb 25, 2025
8213a90
Also allow building with the chip script
Archer6621 Feb 25, 2025
e768dc1
Working example of self-hosted LLM (medalpaca 7b)
Archer6621 Mar 6, 2025
a5615c1
Add ellipses chat bubble when the bot is working on coming up with a …
Archer6621 Mar 6, 2025
f5e5af9
Update chip.sh script
Archer6621 Mar 13, 2025
41c5a02
Update README
Archer6621 Mar 13, 2025
631b645
Add initial progress for Gemini-based response generator
Archer6621 Mar 13, 2025
233575e
Add README for demo response generator
Archer6621 Mar 13, 2025
2264f00
Add README for reasoning
Archer6621 Mar 13, 2025
134f5c9
Small typo fix
Archer6621 Mar 13, 2025
9f3acc1
change uppercase commands in chip.sh for mac bash support
florisdenhengst Mar 13, 2025
e18a559
Fix entrypoint
florisdenhengst Mar 13, 2025
6c3200b
Significantly speed up medalpaca response generator, make CUDA versio…
Archer6621 Mar 28, 2025
917cb0f
Merge branch 'modularity-restructure' of https://github.com/Archer662…
Archer6621 Mar 28, 2025
6334810
Merge pull request #41 from Archer6621/fix-entrypoint-mac
Archer6621 Mar 28, 2025
6e6723a
Merge branch 'modularity-restructure' of https://github.com/Archer662…
Archer6621 Mar 28, 2025
b747db2
Add auto-completion for script and update readme
Archer6621 Mar 28, 2025
33a92f0
Change module structure for existing modules to make util a package
Archer6621 Mar 31, 2025
b5134d5
Make local LLM module generic and change order of Dockerfile configur…
Archer6621 Apr 1, 2025
87486ae
Fix circular import issues
Archer6621 Apr 3, 2025
f64b60c
Fix demo reasoner's tests
Archer6621 Apr 3, 2025
e68ce33
First attempt at centralized CI script
Archer6621 Apr 3, 2025
60cc553
Attempt two at getting CI working
Archer6621 Apr 3, 2025
acb7a04
Add default configs for each of the modules, implement for gemini module
Archer6621 Apr 3, 2025
beeecbe
Do not load LLMs if testing
Archer6621 Apr 3, 2025
c3f5cbf
Actually use the config.env files for the modules
Archer6621 Apr 3, 2025
a7176d6
Fix missing attribute issue
Archer6621 Apr 3, 2025
02a6b45
Attempt to load default config for modules
Archer6621 Apr 3, 2025
62ac46e
Another attempt at getting the env file to load
Archer6621 Apr 3, 2025
73fdf04
Fix typo
Archer6621 Apr 3, 2025
635dde5
Use relative path, since working dir is set anyway
Archer6621 Apr 3, 2025
be9fa83
Use different method of loading env
Archer6621 Apr 3, 2025
9e2ee53
Just source the env file..?
Archer6621 Apr 3, 2025
369c196
Use extension to load env
Archer6621 Apr 3, 2025
2952657
Debug env problems with CI
Archer6621 Apr 3, 2025
5d254c2
Change line endings and add newline
Archer6621 Apr 3, 2025
3a59e83
Manually add env variable, see if that affects shell
Archer6621 Apr 3, 2025
415680d
Does it also work when removing the env section?
Archer6621 Apr 3, 2025
4c986cb
Combine approaches
Archer6621 Apr 3, 2025
fcb2fa2
Fix path
Archer6621 Apr 3, 2025
5707e09
Remove ENV printing, and only run CI for modules with an app folder c…
Archer6621 Apr 3, 2025
b669375
Small oops
Archer6621 Apr 3, 2025
e1b9d23
Use sed to remove last part of the paths
Archer6621 Apr 3, 2025
e1a98de
Put placeholder instead (expired) API token as default
Archer6621 Apr 3, 2025
1d32cfa
Split into base path and test path
Archer6621 Apr 3, 2025
924a0dc
Escape the quotes
Archer6621 Apr 3, 2025
26d11e7
Remove accidental newline
Archer6621 Apr 3, 2025
fe6fbe6
Remove quote escaping again, it was not needed
Archer6621 Apr 3, 2025
1d77630
source from the correct path
Archer6621 Apr 3, 2025
bfc4408
Check whether source is necessary
Archer6621 Apr 3, 2025
8b27f73
Fix front end tests
Archer6621 Apr 3, 2025
9d6a2c4
Fix/remove tests
Archer6621 Apr 7, 2025
e7ec71b
Adjust READMEs of response gen modules
Archer6621 Apr 7, 2025
0c3b82e
Adjust main README to contain information about per-module configs, C…
Archer6621 Apr 7, 2025
2f4b6f9
Ignore temp files generated by pytorch
Archer6621 Apr 8, 2025
d19ad63
Update all READMEs that still needed an update
Archer6621 Apr 8, 2025
76cad23
Ignore temp-files recursively
Archer6621 Apr 8, 2025
5607acc
Add omit flag to coverage run as well
Archer6621 Apr 8, 2025
09808a0
Actually add the omit flag in the right place...
Archer6621 Apr 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions .github/workflows/logger.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Test logger module
name: Full CI workflow

on:
push:
Expand All @@ -14,15 +14,31 @@ permissions:
pull-requests: write

jobs:
build:
collect_dirs:
runs-on: ubuntu-latest
outputs:
dirs: ${{ steps.dirs.outputs.dirs }}
steps:
- uses: actions/checkout@v2
- id: dirs
run: echo "dirs=$(find modules/*/ -type d -wholename */app/tests -printf '{"path":"%h", "base":"%H"}\n' | sed -e 's/\/app",/",/g' | sed -e 's/\/"}/"}/g' | jq --slurp --compact-output '.')" >> ${GITHUB_OUTPUT}


build:
needs: collect_dirs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dir: ${{ fromJson(needs.collect_dirs.outputs.dirs) }}
defaults:
run:
working-directory: ./logger

working-directory: ${{ matrix.dir.path }}
steps:
- uses: actions/checkout@v4
- uses: cardinalby/export-env-action@v1
with:
envFile: ${{ matrix.dir.base }}/config.env.default
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -40,10 +56,10 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
coverage run --branch -m pytest app/tests/
coverage xml --omit="app/tests/**"
coverage run --branch -m --omit="/tmp/**" pytest app/tests/
coverage xml --omit="app/tests/**, /tmp/**"
- name: Python Coverage
uses: orgoro/coverage@v3.2
with:
coverageFile: ./logger/coverage.xml
coverageFile: ${{ matrix.dir.path }}/coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
49 changes: 0 additions & 49 deletions .github/workflows/quasar.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/reasoner.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/response_generator.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/text_to_triples.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,6 @@ front-end/src/flagged
*.sublime-project
*.sublime-workspace
*.Identifier
setup.env
core-modules.yaml
modules/*/config.env
Loading