Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches:
- main
merge_group:
branches:
- main

jobs:
ci-check-server:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dev-deploy-gitops-backends.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
merge_group:
branches:
- main

jobs:
dev-deploy-gitops-backends:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dev-deploy-vercel-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches:
- main
merge_group:
branches:
- main

jobs:
dev-deploy-vercel-dashboard:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dev-deploy-vercel-portal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches:
- main
merge_group:
branches:
- main

jobs:
dev-deploy-vercel-portal:
Expand Down
2 changes: 2 additions & 0 deletions echo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ directus/.env
node_modules
.next

celerybeat-schedule.db

__blobstorage__
__queuestorage__echo/server/dembrane/workspace_script.py

Expand Down
48 changes: 33 additions & 15 deletions echo/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,26 @@
"version": "0.2.0",
"configurations": [
{
"name": "Python: ProcessTracker Debug",
"type": "python",
"name": "Python Debugger: Module",
"type": "debugpy",
"request": "launch",
"module": "dembrane.tasks",
"cwd": "${workspaceFolder}/server",
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal"
},
{
"name": "Python: Conversation Utils Debug",
"type": "debugpy",
"request": "launch",
"program": "dembrane/audio_lightrag/tests/unit_tests/directus_etl_pipeline_test.py",
"program": "dembrane/conversation_utils.py",
"cwd": "${workspaceFolder}/server",
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal",
"justMyCode": "false"
"console": "integratedTerminal"
},
{
"name": "Python: Contextual Chunk ETL Pipeline Debug",
Expand All @@ -22,19 +32,18 @@
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal",
"justMyCode": "false"
"console": "integratedTerminal"
},
{
"name": "Python Debugger: transcribe",
"type": "debugpy",
"request": "launch",
"module": "dembrane.transcribe",
"cwd": "${workspaceFolder}/server"
"cwd": "${workspaceFolder}/server",
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal",
"justMyCode": "false"
"console": "integratedTerminal"
},
{
"name": "Python: LightRAG Embedding Debug",
Expand All @@ -45,8 +54,7 @@
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal",
"justMyCode": "false"
"console": "integratedTerminal"
},
{
"name": "Python: LightRAG Test",
Expand All @@ -57,8 +65,18 @@
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal",
"justMyCode": "false"
"console": "integratedTerminal"
},
{
"name": "Python: Conversation Utils Debug",
"type": "python",
"request": "launch",
"program": "dembrane/conversation_utils.py",
"cwd": "${workspaceFolder}/server",
"env": {
"PYTHONPATH": "${workspaceFolder}/server"
},
"console": "integratedTerminal"
}
]
}
}
20 changes: 20 additions & 0 deletions echo/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,26 @@
"source .venv/bin/activate",
"./run-worker.sh"
]
},
{
"name": "workers-cpu",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-worker-cpu.sh"
]
}
]
},
{
"splitTerminals": [
{
"name": "scheduler",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-scheduler.sh"
]
}
]
},
Expand Down
6 changes: 0 additions & 6 deletions echo/directus/directus-sync.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ module.exports = {
// OR needs to be run in the same container as the directus server
dumpPath: './sync',
preserveIds: ['roles', 'policies', 'dashboards', 'panels'],
exclude: {
collections: [
"lightrag_chunk_graph_map","lightrag_doc_chunks","lightrag_doc_full","lightrag_doc_status",
"lightrag_llm_cache","lightrag_vdb_entity","lightrag_vdb_relation","lightrag_vdb_transcript" // This regex pattern will match any collection that starts with "lightrag_"
]
}
};
24 changes: 24 additions & 0 deletions echo/directus/sync/snapshot/fields/aspect/centroid_embedding.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"collection": "aspect",
"field": "centroid_embedding",
"type": "unknown",
"meta": null,
"schema": {
"name": "centroid_embedding",
"table": "aspect",
"data_type": "vector",
"default_value": null,
"max_length": null,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}
45 changes: 45 additions & 0 deletions echo/directus/sync/snapshot/fields/conversation/is_finished.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"collection": "conversation",
"field": "is_finished",
"type": "boolean",
"meta": {
"collection": "conversation",
"conditions": null,
"display": null,
"display_options": null,
"field": "is_finished",
"group": null,
"hidden": false,
"interface": "boolean",
"note": null,
"options": null,
"readonly": false,
"required": false,
"sort": 24,
"special": [
"cast-boolean"
],
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "is_finished",
"table": "conversation",
"data_type": "boolean",
"default_value": false,
"max_length": null,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
"readonly": false,
"required": false,
"sort": 7,
"special": [
"date-created"
],
"special": null,
"translations": null,
"validation": null,
"validation_message": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"collection": "project",
"field": "is_enhanced_audio_processing_enabled",
"type": "boolean",
"meta": {
"collection": "project",
"conditions": null,
"display": null,
"display_options": null,
"field": "is_enhanced_audio_processing_enabled",
"group": null,
"hidden": false,
"interface": "boolean",
"note": null,
"options": null,
"readonly": false,
"required": false,
"sort": 25,
"special": [
"cast-boolean"
],
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "is_enhanced_audio_processing_enabled",
"table": "project",
"data_type": "boolean",
"default_value": true,
"max_length": null,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
"is_generated": false,
"generation_expression": null,
"has_auto_increment": false,
"foreign_key_table": null,
"foreign_key_column": null
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"max_length": null,
"numeric_precision": null,
"numeric_scale": null,
"is_nullable": false,
"is_nullable": true,
"is_unique": false,
"is_indexed": false,
"is_primary_key": false,
Expand Down
Loading