Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
b12a2a3
Add LLM Connections and Inference Results API endpoints documentation
Sep 2, 2025
07ecb32
created docker-compose.yml with initial services
nuwangeek Sep 3, 2025
a6a2c11
fixed issue
nuwangeek Sep 3, 2025
9d06d18
change network name to bykstack
nuwangeek Sep 3, 2025
3201850
Merge pull request #1 from rootcodelabs/RAG-17
Thirunayan22 Sep 3, 2025
4278438
Merge pull request #4 from rootcodelabs/dev
nuwangeek Sep 4, 2025
1f1ed60
fix ruff linting issue
nuwangeek Sep 4, 2025
6aceb2e
Merge pull request #5 from rootcodelabs/wip
nuwangeek Sep 4, 2025
af5b697
added gitignore file
nuwangeek Sep 4, 2025
8860b0c
Merge pull request #6 from buerokratt/wip
Thirunayan22 Sep 5, 2025
b2b9448
Merge pull request #7 from buerokratt/dev
Thirunayan22 Sep 5, 2025
36a9115
Merge pull request #8 from rootcodelabs/wip
Thirunayan22 Sep 5, 2025
0a26763
added intentional invalid code to check ci
Thirunayan22 Sep 5, 2025
381e6a5
added fake key exposure to check gitleaks ci
Thirunayan22 Sep 5, 2025
b5a370d
added .gitignore
Thirunayan22 Sep 5, 2025
ea6fb6f
Merge pull request #53 from rootcodelabs/RAG-17
Thirunayan22 Sep 5, 2025
e100d14
Merge branch 'RAG-16' into wip
Thirunayan22 Sep 5, 2025
074abd4
Merge pull request #11 from buerokratt/wip
Thirunayan22 Sep 5, 2025
c28f030
updated pre-commit hooks
Thirunayan22 Sep 5, 2025
8f27289
added pre-commit hook configs
Thirunayan22 Sep 5, 2025
e386b38
updated contributors.md and added pre-commit config
Thirunayan22 Sep 5, 2025
ef2e58e
updated pre-commit hook
Thirunayan22 Sep 5, 2025
d330283
Merge pull request #54 from rootcodelabs/RAG-17
Thirunayan22 Sep 5, 2025
0652f0e
updated contributing.md (#56)
Thirunayan22 Sep 5, 2025
f89a608
Pulling changs from Dev to WIP (#58)
Thirunayan22 Sep 5, 2025
6c4e28b
Merge pull request #14 from buerokratt/wip
nuwangeek Sep 6, 2025
ce77539
Merge pull request #15 from rootcodelabs/wip
nuwangeek Sep 6, 2025
6144b62
initial config manager module
nuwangeek Sep 6, 2025
b16629f
get pull and fixed merge conflicts
nuwangeek Sep 6, 2025
e4f26bc
project initialization
Sep 8, 2025
140d234
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Sep 8, 2025
0a30cdc
added loading screen
Sep 8, 2025
f7d4a14
Remove .env from tracking and ensure it's gitignored
nuwangeek Sep 9, 2025
aa8754c
complete llm_config_module
nuwangeek Sep 9, 2025
a2f4e31
remove llm config doc
nuwangeek Sep 9, 2025
1eff652
fixed copilot review suggesions
nuwangeek Sep 9, 2025
3ee26c1
Add ESLint check workflow for GUI project
erangi-ar Sep 9, 2025
73ba723
llm connection view and create form
Sep 9, 2025
21e8315
view llm gui changes
Sep 10, 2025
e6ca547
Update GUI/src/pages/LLMConnections/ViewLLMConnection.tsx
erangi-ar Sep 10, 2025
cee0372
Update GUI/src/components/FormElements/FormSelect/FormMultiselect.tsx
erangi-ar Sep 10, 2025
8ca87fa
Update GUI/src/components/Header/index.tsx
erangi-ar Sep 10, 2025
64caa01
Update GUI/src/components/molecules/LLMConnectionForm/index.tsx
erangi-ar Sep 10, 2025
22ca9e5
Update GUI/vitePlugin.js
erangi-ar Sep 10, 2025
6704653
updated with requested changes
nuwangeek Sep 10, 2025
bc20a86
Merge pull request #60 from rootcodelabs/gui-initialization
Thirunayan22 Sep 10, 2025
56b622e
Merge pull request #16 from buerokratt/wip
Thirunayan22 Sep 10, 2025
03efc6f
Merge pull request #64 from rootcodelabs/rag-19-llm-connections-view
Thirunayan22 Sep 10, 2025
92dfe58
Added testcontainers to facilitate mock hashicorp vault
nuwangeek Sep 10, 2025
7970b26
remove warnings from testcontainers
nuwangeek Sep 10, 2025
f3bb23e
fixed ruff lint issues
nuwangeek Sep 10, 2025
1b38b0d
Merge pull request #17 from rootcodelabs/RAG-6
nuwangeek Sep 10, 2025
15f8775
removed pyproject.toml block to suppress warnings
nuwangeek Sep 10, 2025
591232f
added modern wait strategy to the conftest
nuwangeek Sep 11, 2025
9435643
fixed ruff lint issues
nuwangeek Sep 11, 2025
7eb51d2
Merge pull request #18 from rootcodelabs/RAG-6
nuwangeek Sep 11, 2025
6e59dea
Merge pull request #19 from buerokratt/wip
Thirunayan22 Sep 11, 2025
627e26d
Merge pull request #62 from rootcodelabs/RAG-6
Thirunayan22 Sep 11, 2025
41414f5
Refactor API documentation for LLM Connections and Inference Results …
Sep 11, 2025
aff5b9e
Merge pull request #20 from buerokratt/wip
Thirunayan22 Sep 11, 2025
5d1c9ce
partialy completes prompt refiner
nuwangeek Sep 11, 2025
253ee58
remove type ignore lines
nuwangeek Sep 11, 2025
38b5e45
fixed ruff format issue
nuwangeek Sep 11, 2025
b35be68
Refactor LLM Connections and Inference Results API documentation for …
Sep 11, 2025
5c0a9ac
Add Liquibase changelog and configuration files; update Docker Compos…
Sep 11, 2025
3d455bd
Merge branch 'endpoints' of https://github.com/rootcodelabs/RAG-Modul…
Sep 11, 2025
25d95c0
porting user management code
Sep 11, 2025
e7382d1
integrate prompt refiner with llm_config_module
nuwangeek Sep 15, 2025
a7a2303
fixed ruff lint issues
nuwangeek Sep 15, 2025
61023b4
Merge pull request #22 from rootcodelabs/RAG-7
nuwangeek Sep 15, 2025
df0e9f9
user management fe and be
Sep 15, 2025
a7eeeeb
complete prompt refiner, chunk retriver and reranker
nuwangeek Sep 16, 2025
8d9dd8d
crud api and integration for llm connections
Sep 16, 2025
d39c0f4
confirmation modal changes
Sep 16, 2025
f6c418b
resolved pr comments
Sep 16, 2025
ef4630e
remove unnesessary comments
nuwangeek Sep 17, 2025
76515ce
updated .gitignore
nuwangeek Sep 17, 2025
1c059b8
Remove data_sets from tracking
nuwangeek Sep 17, 2025
f4ca76d
update .gitignore file
nuwangeek Sep 17, 2025
9f1b4e3
Implement Test LLM feature with inference result handling
Sep 17, 2025
8d2285f
Merge pull request #66 from rootcodelabs/type-ignore-fix
Thirunayan22 Sep 18, 2025
3004e41
Merge pull request #80 from rootcodelabs/rag-20-llm-connections-view-be
Thirunayan22 Sep 18, 2025
a2a5b9d
create llm connection form changes
Sep 22, 2025
bfd93dc
Add budget tracking and filtering for LLM connections; update UI comp…
Sep 23, 2025
6ae8a98
Merge branch 'rag-20-llm-connections-view-be' of https://github.com/r…
Sep 23, 2025
2f4a6d4
Fix success and error messages in LLM connection dialog
Sep 23, 2025
a7d7d68
complete vault setup and response generator
nuwangeek Sep 24, 2025
5589413
remove ignore comment
nuwangeek Sep 24, 2025
369e9a0
Merge pull request #25 from buerokratt/wip
nuwangeek Sep 24, 2025
33915ea
Merge branch 'RAG-81' into wip
nuwangeek Sep 24, 2025
a0a125e
Update GUI/src/pages/TestModel/index.tsx
erangi-ar Sep 25, 2025
b291490
Merge pull request #30 from buerokratt/wip
Thirunayan22 Sep 25, 2025
5947a77
Merge pull request #82 from rootcodelabs/rag-23-test-llm
Thirunayan22 Sep 25, 2025
286b761
Merge pull request #32 from buerokratt/wip
erangi-ar Sep 25, 2025
24ffa82
Updated LLM Config module with Response generation flow (#86)
nuwangeek Oct 1, 2025
9cf32b3
fixed merge conflicts
nuwangeek Oct 1, 2025
4d282d3
Merge branch 'buerokratt-wip' into wip
nuwangeek Oct 1, 2025
be08c23
removed old modules
nuwangeek Oct 1, 2025
2f39178
fixed merge conflicts
nuwangeek Oct 1, 2025
813d11e
LLM connection creation changes (#108)
erangi-ar Oct 2, 2025
1a8cb4e
Merge pull request #35 from buerokratt/wip
erangi-ar Oct 2, 2025
77dc5ef
Add endpoints and SQL scripts for storing inference results (#87)
erangi-ar Oct 3, 2025
18138f2
Merge pull request #36 from buerokratt/wip
nuwangeek Oct 3, 2025
0294237
Disable Re ranker and Add LLM cost tracking (#112)
nuwangeek Oct 3, 2025
176ffd5
Merge pull request #38 from buerokratt/wip
nuwangeek Oct 3, 2025
774e910
Nemo Guardrails (#114)
nuwangeek Oct 7, 2025
98d2dfd
Merge pull request #39 from buerokratt/wip
nuwangeek Oct 8, 2025
5413662
Redteam and deepeval tests with wip base (#110)
ckittask Oct 16, 2025
bae1e6a
Rag 103 budget related schema, UI, endpoint changes (#118)
erangi-ar Oct 16, 2025
56ee917
Rag 119 endpoint to update used budget (#123)
erangi-ar Oct 17, 2025
1f185ae
Rag 113 warning and termination banners (#124)
erangi-ar Oct 19, 2025
105d2b9
RTC Integration temp to BYK WIP (#133)
erangi-ar Oct 26, 2025
0cef78c
fixed merge conflicts
nuwangeek Oct 27, 2025
7842184
Merge branch 'buerokratt-wip' into wip
nuwangeek Oct 27, 2025
3bf4cd3
Pre demo fixes (#147)
erangi-ar Oct 29, 2025
4ac0dfd
Merge pull request #65 from buerokratt/wip
nuwangeek Oct 30, 2025
0b477fa
Langfuse wip (#148)
ckittask Oct 30, 2025
c46c3d9
Merge pull request #66 from buerokratt/wip
nuwangeek Nov 4, 2025
ad510b7
Vault Authentication token handling (#154)
nuwangeek Nov 5, 2025
caf50af
Vault Authentication token handling (#154) (#70)
erangi-ar Nov 6, 2025
84ce0bb
Merge pull request #71 from buerokratt/wip
nuwangeek Nov 7, 2025
b6d298a
Added English keys and Estonian translations (#156)
erangi-ar Nov 7, 2025
742c6e5
Merge pull request #73 from buerokratt/wip
erangi-ar Nov 11, 2025
9208408
Bug fixes (#157)
nuwangeek Nov 18, 2025
7a6f129
Merge pull request #74 from buerokratt/wip
nuwangeek Nov 18, 2025
4e86f13
initial streaming updates
nuwangeek Nov 19, 2025
2bfcddc
added notification node
Nov 20, 2025
a38b24f
fixed requested chnges
nuwangeek Nov 20, 2025
e06bb5d
fixed issues
nuwangeek Nov 20, 2025
f9c34ec
Merge branch 'rag-streaming' of https://github.com/rootcodelabs/RAG-M…
Nov 20, 2025
67f7c05
Rag streaming from llm orchestration flow (#161)
nuwangeek Nov 20, 2025
c29bd2f
Bug fixes in Deployment environments (#164)
nuwangeek Nov 21, 2025
c85b43a
Merge pull request #76 from buerokratt/wip
nuwangeek Nov 21, 2025
f077309
Add LLM orchestration streaming functionality and .gitignore for node…
Nov 25, 2025
5d442b6
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Nov 25, 2025
ad22adb
Security improvements (#165)
nuwangeek Nov 25, 2025
1e93584
Performance improvements (#167)
nuwangeek Nov 25, 2025
c806f87
Merge pull request #80 from buerokratt/wip
nuwangeek Nov 25, 2025
eb7d1eb
Merge pull request #83 from rootcodelabs/wip
nuwangeek Nov 25, 2025
089eb64
Chunk retrieval quality enhancement (#172)
nuwangeek Nov 26, 2025
ced54ab
Merge pull request #86 from buerokratt/wip
erangi-ar Nov 26, 2025
c33f951
Rag 149- Show chunk context in Test LLM Connection Page (#173)
erangi-ar Nov 26, 2025
fa925ed
Merge pull request #87 from buerokratt/wip
nuwangeek Nov 27, 2025
9200fc4
QA bug fixes (#174)
erangi-ar Nov 28, 2025
eb0e3b5
Merge pull request #88 from buerokratt/wip
nuwangeek Nov 28, 2025
ce64949
Make #chunks configurable (#179)
nuwangeek Nov 28, 2025
1d25d90
Typechecking and linter rule updates (#180)
Thirunayan22 Nov 29, 2025
8ce90c3
Merge pull request #90 from buerokratt/wip
nuwangeek Dec 1, 2025
58b23a1
Update inference results and and budget (#181)
nuwangeek Dec 1, 2025
301a03a
Merge pull request #92 from buerokratt/wip
nuwangeek Dec 1, 2025
077855e
code cleanups
Dec 1, 2025
cd498b4
code cleanups and formatting
Dec 1, 2025
988ff60
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Dec 1, 2025
97f0583
Complete langfuse setup (#182)
nuwangeek Dec 2, 2025
55b644c
Merge pull request #94 from buerokratt/wip
nuwangeek Dec 2, 2025
46fbca6
Add docker-compose configuration for EC2 deployment
Dec 2, 2025
731a3d7
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Dec 2, 2025
0989313
Fix formatting and update port mappings in docker-compose.yml
Dec 3, 2025
a9169f2
Update port mappings in docker-compose-ec2.yml to allow external access
Dec 3, 2025
99ad60e
Merge branch 'streaming-feature-opensearch' of https://github.com/roo…
Dec 3, 2025
b5fccda
Add opensearch-node and notifications-node services to docker-compose…
Dec 3, 2025
619372a
Add opensearch-data volume and remove opensearch-dashboards service f…
Dec 3, 2025
22d134d
Complete Integration test (#184)
nuwangeek Dec 10, 2025
90636c6
Streaming feature with opensearch (#186)
erangi-ar Dec 10, 2025
909c8d2
Translations updates (#187)
erangi-ar Dec 15, 2025
bb4da5b
Merge pull request #96 from rootcodelabs/rag-deployment-ec2
Thirunayan22 Dec 16, 2025
27f3d91
Merge branch 'wip' into wip
Thirunayan22 Dec 16, 2025
f635768
Merge pull request #97 from buerokratt/wip
Thirunayan22 Dec 16, 2025
b674b5e
updated docker compose ec2
Thirunayan22 Dec 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
106 changes: 106 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Docker ignore file for LLM Orchestration Service
# Exclude unnecessary files from Docker build context

# Git
.git
.gitignore

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Logs
*.log
logs/
*.log.*

# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
coverage.xml

# Documentation
docs/
*.md
!README.md

# Config files (will be mounted)
.env.local
.env.development
.env.test

# Cache directories
.ruff_cache/
.mypy_cache/
.pyright_cache/

# Test files
test_*.py
*_test.py
tests/

# Development scripts
run_*.py
test_*.py

# Temporary files
*.tmp
*.temp
.temporary

# Node modules (if any)
node_modules/

# Docker files (except the specific one being built)
Dockerfile*
!Dockerfile.llm_orchestration_service
docker-compose*.yml

# Grafana configs (not needed for this service)
grafana-configs/
4 changes: 0 additions & 4 deletions .env.example

This file was deleted.

123 changes: 123 additions & 0 deletions .github/workflows/deepeval-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: DeepEval RAG System Tests

on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/deepeval-tests.yml'

jobs:
deepeval-tests:
runs-on: ubuntu-latest
timeout-minutes: 40

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

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: '.python-version'

- name: Set up uv
uses: astral-sh/setup-uv@v6

- name: Install dependencies (locked)
run: uv sync --frozen

- name: Run DeepEval tests
id: run_tests
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: uv run python -m pytest tests/deepeval_tests/standard_tests.py -v --tb=short

- name: Generate evaluation report
if: always()
run: python tests/deepeval_tests/report_generator.py

- name: Comment PR with test results
if: always() && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');

try {
const reportContent = fs.readFileSync('test_report.md', 'utf8');

const comments = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number
});

const existingComment = comments.data.find(
comment => comment.user.login === 'github-actions[bot]' &&
comment.body.includes('RAG System Evaluation Report')
);

if (existingComment) {
await github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: existingComment.id,
body: reportContent
});
} else {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: reportContent
});
}

} catch (error) {
console.error('Failed to post test results:', error);

await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `## RAG System Evaluation Report\n\n**Error generating test report**\n\nFailed to read or post test results. Check workflow logs for details.\n\nError: ${error.message}`
});
}

- name: Check test results and fail if needed
if: always()
run: |
# Check if pytest ran (look at step output)
if [ "${{ steps.run_tests.outcome }}" == "failure" ]; then
echo "Tests ran but failed - this is expected if RAG performance is below threshold"
fi
if [ -f "pytest_captured_results.json" ]; then
total_tests=$(jq '.total_tests // 0' pytest_captured_results.json)
passed_tests=$(jq '.passed_tests // 0' pytest_captured_results.json)

if [ "$total_tests" -eq 0 ]; then
echo "ERROR: No tests were executed"
exit 1
fi

pass_rate=$(awk "BEGIN {print ($passed_tests / $total_tests) * 100}")

echo "DeepEval Test Results:"
echo "Total Tests: $total_tests"
echo "Passed Tests: $passed_tests"
echo "Pass Rate: $pass_rate%"

if (( $(echo "$pass_rate < 70" | bc -l) )); then
echo "TEST FAILURE: Pass rate $pass_rate% is below threshold 70%"
echo "RAG system performance is below acceptable standards."
exit 1
else
echo "TEST SUCCESS: Pass rate $pass_rate% meets threshold 70%"
fi
else
echo "ERROR: No test results file found"
exit 1
fi
Loading
Loading