-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext-sources.config.json
More file actions
88 lines (88 loc) · 2.89 KB
/
Copy pathcontext-sources.config.json
File metadata and controls
88 lines (88 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"sources": [
{
"id": "qmd",
"type": "qmd",
"enabled": true,
"requiredTools": ["qmd"],
"envVars": ["KNOWLEDGE_BASE_PATH"],
"sourcePath": "${KNOWLEDGE_BASE_PATH:-./docs}",
"ingestCommand": "qmd ingest",
"indexCommand": "env QMD_FORCE_CPU=1 qmd query health --limit 1",
"freshnessThresholdMinutes": 1440,
"qmdCollection": "knowledge",
"safeAnswerPolicy": "source_required"
},
{
"id": "gmail",
"type": "gmail",
"enabled": false,
"requiredTools": ["python3"],
"envVars": ["GMAIL_INGEST_ENABLED"],
"sourcePath": "./data/context/gmail",
"ingestCommand": "python3 services/ingestion/gmail-runner.py",
"indexCommand": "qmd index gmail",
"freshnessThresholdMinutes": 180,
"qmdCollection": "gmail",
"safeAnswerPolicy": "source_required"
},
{
"id": "spark",
"type": "spark",
"enabled": false,
"requiredTools": ["sqlite3", "python3"],
"envVars": ["SPARK_TRANSCRIPTS_DB", "MEMROOS_MEETING_IDENTITY_EMAILS"],
"sourcePath": "./data/context/spark",
"ingestCommand": "python3 services/ingestion/spark-transcripts.py",
"indexCommand": "qmd index spark",
"freshnessThresholdMinutes": 360,
"qmdCollection": "spark",
"safeAnswerPolicy": "source_required",
"readinessPolicy": {
"artifactCompleteMarker": "## Transcript",
"pendingStateKey": "pending_message_rowids",
"ownerIdentitiesEnv": "MEMROOS_MEETING_IDENTITY_EMAILS",
"settleMinutesEnv": "SPARK_TRANSCRIPT_SETTLE_MINUTES"
}
},
{
"id": "mem0",
"type": "mem0",
"enabled": true,
"requiredTools": ["python3"],
"envVars": ["MEM0_URL"],
"sourcePath": "./services/memory/logs/mem0-server.log",
"ingestCommand": "services/memory/healthcheck.sh",
"indexCommand": "curl -fsS ${MEM0_URL:-http://localhost:3201}/health",
"freshnessThresholdMinutes": 15,
"qmdCollection": null,
"safeAnswerPolicy": "degrade_with_warning"
},
{
"id": "local-folder",
"type": "local-folder",
"enabled": false,
"requiredTools": [],
"envVars": ["LOCAL_CONTEXT_PATH"],
"sourcePath": "${LOCAL_CONTEXT_PATH:-./docs}",
"ingestCommand": null,
"indexCommand": "qmd index local-folder",
"freshnessThresholdMinutes": 1440,
"qmdCollection": "local-folder",
"safeAnswerPolicy": "source_required"
},
{
"id": "meet-recordings",
"type": "qmd",
"enabled": false,
"requiredTools": [],
"envVars": ["MEETINGS_INGEST_COMMAND"],
"sourcePath": "./data/context/meet-recordings",
"ingestCommand": "${MEETINGS_INGEST_COMMAND}",
"indexCommand": "qmd index meet-recordings",
"freshnessThresholdMinutes": 360,
"qmdCollection": "meet-recordings",
"safeAnswerPolicy": "source_required"
}
]
}