Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
1b38b0d
Merge pull request #17 from rootcodelabs/RAG-6
nuwangeek Sep 10, 2025
7eb51d2
Merge pull request #18 from rootcodelabs/RAG-6
nuwangeek Sep 11, 2025
5d1c9ce
partialy completes prompt refiner
nuwangeek 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
a7eeeeb
complete prompt refiner, chunk retriver and reranker
nuwangeek 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
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
286b761
Merge pull request #32 from buerokratt/wip
erangi-ar Sep 25, 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
1a8cb4e
Merge pull request #35 from buerokratt/wip
erangi-ar Oct 2, 2025
e6d2aad
added initial setup for the vector indexer
nuwangeek Oct 3, 2025
18138f2
Merge pull request #36 from buerokratt/wip
nuwangeek Oct 3, 2025
2868fe8
initial llm orchestration service update with context generation
nuwangeek Oct 3, 2025
176ffd5
Merge pull request #38 from buerokratt/wip
nuwangeek Oct 3, 2025
931ccf0
added new endpoints
nuwangeek Oct 7, 2025
98d2dfd
Merge pull request #39 from buerokratt/wip
nuwangeek Oct 8, 2025
9a7cf79
vector indexer with contextual retrieval
nuwangeek Oct 12, 2025
964e54e
Merge pull request #40 from rootcodelabs/wip
nuwangeek Oct 12, 2025
3926fd7
fixed merge conflicts
nuwangeek Oct 12, 2025
844747f
fixed requested changes
nuwangeek Oct 12, 2025
1cc14a2
fixed issue
nuwangeek Oct 12, 2025
58c808e
initial diff identifier setup
nuwangeek Oct 14, 2025
c17aeb3
uncommment docker compose file
nuwangeek Oct 14, 2025
6449751
added test endpoint for orchestrate service
nuwangeek Oct 14, 2025
d93ebfb
fixed ruff linting issue
nuwangeek Oct 14, 2025
5f1b190
Rag 103 budget related schema changes (#41)
erangi-ar Oct 14, 2025
10987ca
Rag 93 update connection status (#47)
erangi-ar Oct 14, 2025
57601a9
Rag 99 production llm connections logic (#46)
erangi-ar Oct 14, 2025
bbf9dde
Rag 119 endpoint to update used budget (#42)
erangi-ar Oct 14, 2025
e74ec2e
Rag 113 warning and termination banners (#43)
erangi-ar Oct 14, 2025
acfd222
rag-105-reset-used-budget-cron-job (#44)
erangi-ar Oct 14, 2025
26f3d4e
Rag 101 budget check functionality (#45)
erangi-ar Oct 14, 2025
513e11e
Merge branch 'integration-temp' into RAG-33
nuwangeek Oct 14, 2025
e363e28
Merge pull request #48 from rootcodelabs/RAG-33
nuwangeek Oct 14, 2025
5f73e68
Merge pull request #49 from rootcodelabs/RAG-128
nuwangeek Oct 14, 2025
8653b48
gui running on 3003 issue fixed
Oct 14, 2025
6305ba2
gui running on 3003 issue fixed (#50)
erangi-ar Oct 14, 2025
c423bf6
added get-configuration.sqpl and updated llmconnections.ts
nuwangeek Oct 14, 2025
e7b8033
Merge branch 'integration-temp' of https://github.com/rootcodelabs/RA…
nuwangeek Oct 14, 2025
4f9dbc5
Add SQL query to retrieve configuration values
Oct 15, 2025
b9d133f
Hashicorp key saving (#51)
erangi-ar Oct 15, 2025
b09e103
Remove REACT_APP_NOTIFICATION_NODE_URL variable
erangi-ar Oct 15, 2025
89018bc
added initil diff identifier functionality
nuwangeek Oct 15, 2025
dd64439
Merge branch 'integration-temp' of https://github.com/rootcodelabs/RA…
nuwangeek Oct 15, 2025
d989ced
test phase1
nuwangeek Oct 15, 2025
c519a2e
Refactor inference and connection handling in YAML and TypeScript files
Oct 16, 2025
f9fa6ac
Merge branch 'integration-temp' of https://github.com/rootcodelabs/RA…
Oct 16, 2025
cedc413
fixes (#52)
erangi-ar Oct 16, 2025
e5b52b2
Add entry point script for Vector Indexer with command line interface
Oct 16, 2025
982ab10
fix (#53)
erangi-ar Oct 16, 2025
2092f4c
diff fixes
nuwangeek Oct 16, 2025
81e3aaa
fixed issue
nuwangeek Oct 16, 2025
8e22d48
Merge branch 'wip' into hashicorp-key-saving
erangi-ar Oct 16, 2025
d7b6d8e
uncomment llm orchestration service in docker compose file
nuwangeek Oct 16, 2025
987bfd4
Merge pull request #55 from rootcodelabs/integration-temp
nuwangeek Oct 16, 2025
4d14f8a
fix merge conflict after taking pull from integration-temp branch
nuwangeek Oct 16, 2025
31d6155
complete vector indexer
nuwangeek Oct 18, 2025
4814e81
Merge branch 'wip' into integration-temp
erangi-ar Oct 20, 2025
6300ed0
Add YAML configurations and scripts for managing vault secrets
Oct 20, 2025
b5266f6
Merge branch 'hashicorp-key-saving' of https://github.com/rootcodelab…
Oct 20, 2025
cd3a0c8
Add vault secret management functions and endpoints for LLM connections
Oct 20, 2025
cd49f7d
Add Test Production LLM page with messaging functionality and styles
Oct 20, 2025
6330738
fixed issue
nuwangeek Oct 21, 2025
b8c36eb
fixed merge conflicts
nuwangeek Oct 21, 2025
ebb54a7
fixed issue
nuwangeek Oct 21, 2025
e9fff3f
Merge branch 'integration-temp' of https://github.com/rootcodelabs/RA…
nuwangeek Oct 21, 2025
8c0bc61
fixed issue
nuwangeek Oct 21, 2025
88ee82e
fixed merge conflicts
nuwangeek Oct 21, 2025
bd31498
Merge pull request #56 from rootcodelabs/RAG-32
nuwangeek Oct 21, 2025
00eb138
Merge pull request #58 from rootcodelabs/integration-temp
nuwangeek Oct 21, 2025
c5146bd
updated with requested chnages
nuwangeek Oct 21, 2025
0c5d650
Merge pull request #59 from rootcodelabs/RAG-32
nuwangeek Oct 21, 2025
dd76c72
fixed test ui endpoint request responses schema issue
nuwangeek Oct 22, 2025
2765095
fixed dvc path issue
nuwangeek Oct 22, 2025
d892b1b
fixed merge conflicts with test-prod-llm-ui
nuwangeek Oct 22, 2025
11bd4b3
Merge pull request #60 from rootcodelabs/integration-temp
nuwangeek Oct 22, 2025
019afa8
Merge pull request #61 from rootcodelabs/test-prod-llm-ui
nuwangeek Oct 22, 2025
88a6d3d
added dspy optimization
nuwangeek Oct 23, 2025
ad0ac28
Merge pull request #62 from rootcodelabs/dspy-optimization
nuwangeek Oct 23, 2025
5e0c52e
filters fixed
Oct 23, 2025
50ef120
refactor: restructure llm_connections table for improved configuratio…
Oct 23, 2025
e4e1f48
feat: enhance LLM connection handling with AWS and Azure embedding cr…
Oct 24, 2025
c69c447
fixed issues
nuwangeek Oct 26, 2025
0cef78c
fixed merge conflicts
nuwangeek Oct 27, 2025
7842184
Merge branch 'buerokratt-wip' into wip
nuwangeek Oct 27, 2025
922c224
refactor: remove redundant Azure and AWS credential assignments in va…
Oct 27, 2025
e5d934f
Merge branch 'pre-demo-fixes' of https://github.com/rootcodelabs/RAG-…
Oct 27, 2025
3c1b41d
merge wip
Oct 27, 2025
4ac0dfd
Merge pull request #65 from buerokratt/wip
nuwangeek Oct 30, 2025
c46c3d9
Merge pull request #66 from buerokratt/wip
nuwangeek Nov 4, 2025
8321727
english translation keys added
Nov 6, 2025
f02a5f1
et translations
Nov 6, 2025
c62e3f1
feat: add internationalization support for budget banner messages in …
Nov 6, 2025
caf50af
Vault Authentication token handling (#154) (#70)
erangi-ar Nov 6, 2025
181f508
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Nov 6, 2025
84ce0bb
Merge pull request #71 from buerokratt/wip
nuwangeek Nov 7, 2025
72d8c83
feat: add Playwright testing framework and initial authentication tests
Nov 7, 2025
21f9ce3
added test cases for login function
Nov 7, 2025
742c6e5
Merge pull request #73 from buerokratt/wip
erangi-ar Nov 11, 2025
7a6f129
Merge pull request #74 from buerokratt/wip
nuwangeek Nov 18, 2025
885581b
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Nov 20, 2025
c85b43a
Merge pull request #76 from buerokratt/wip
nuwangeek Nov 21, 2025
c806f87
Merge pull request #80 from buerokratt/wip
nuwangeek Nov 25, 2025
ced54ab
Merge pull request #86 from buerokratt/wip
erangi-ar Nov 26, 2025
fa925ed
Merge pull request #87 from buerokratt/wip
nuwangeek Nov 27, 2025
eb0e3b5
Merge pull request #88 from buerokratt/wip
nuwangeek Nov 28, 2025
8ce90c3
Merge pull request #90 from buerokratt/wip
nuwangeek Dec 1, 2025
301a03a
Merge pull request #92 from buerokratt/wip
nuwangeek Dec 1, 2025
3482900
Add comprehensive tests for LLM and user management functionalities
Dec 1, 2025
e1817cb
Update navigation URLs and increase timeout durations in test helpers
Dec 1, 2025
55b644c
Merge pull request #94 from buerokratt/wip
nuwangeek Dec 2, 2025
44bacf8
Merge branch 'wip' of https://github.com/rootcodelabs/RAG-Module into…
Dec 9, 2025
74928b9
Remove obsolete tests for Production LLM Page from llm-testing.spec.ts
Dec 9, 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
5 changes: 5 additions & 0 deletions GUI/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Playwright test artifacts
tests/screenshots/
test-results/
playwright-report/
64 changes: 64 additions & 0 deletions GUI/package-lock.json

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

10 changes: 9 additions & 1 deletion GUI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "tsc --noEmit && eslint \"./src/**/*.{js,ts,tsx}\"",
"prettier": "prettier --write \"{,!(node_modules)/**/}*.{ts,tsx,js,json,css,less,scss}\""
"prettier": "prettier --write \"{,!(node_modules)/**/}*.{ts,tsx,js,json,css,less,scss}\"",
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:headed": "playwright test --headed",
"test:debug": "playwright test --debug",
"test:chrome": "playwright test --project=chromium",
"test:chrome:headed": "playwright test --project=chromium --headed",
"test:chrome:debug": "playwright test --project=chromium --debug"
},
"dependencies": {
"@buerokratt-ria/styles": "^0.0.1",
Expand Down Expand Up @@ -69,6 +76,7 @@
"zustand": "^4.4.4"
},
"devDependencies": {
"@playwright/test": "^1.56.1",
"@types/howler": "^2.2.11",
"@types/lodash": "^4.14.191",
"@types/lodash.debounce": "^4.0.7",
Expand Down
54 changes: 54 additions & 0 deletions GUI/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import { defineConfig, devices } from '@playwright/test';

/**
* @see https://playwright.dev/docs/test-configuration
*/
export default defineConfig({
testDir: './tests',
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',

/* Take screenshot on failure */
screenshot: 'only-on-failure',

/* Record video on failure */
video: 'retain-on-failure',
},

/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},

{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},

{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],

/* Uncomment to run your local dev server before starting the tests */
// webServer: {
// command: 'npm run dev',
// url: 'http://localhost:3001',
// reuseExistingServer: !process.env.CI,
// },
});
35 changes: 34 additions & 1 deletion GUI/tests/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
## Contains both unit and integration test for GUI
## Contains both unit and integration test for GUI

### Playwright E2E Tests

This directory contains end-to-end tests using Playwright for the RAG Module GUI.

#### Setup

1. Install dependencies:
```bash
npm install
```

2. Install Playwright browsers:
```bash
npx playwright install
```

#### Running Tests

- Run all tests: `npm test`
- Run tests with UI: `npm run test:ui`
- Run tests in headed mode: `npm run test:headed`
- Debug tests: `npm run test:debug`

#### Test Files

- `auth.spec.ts` - Authentication flow tests (requires auth service running)
- `basic-auth.spec.ts` - Basic authentication tests (can run standalone)

#### Authentication Service

The tests expect an authentication service running at `http://localhost:3004/et/dev-auth` (from .env.development).
If the service is not running, some tests will gracefully handle the failure and run alternative scenarios.
Loading
Loading