Commit 39643b5
committed
v0.1.0-alpha - Custom Model Training and Local Query via Ollama Complete
• HARALD custom model (harald-phi4) successfully trained on phi4-mini base
- Model size: 2.5GB, trained with HeraldStack-specific knowledge
- Validated with contextual queries showing Marvel AI domain expertise
- Demonstrates project terminology integration and personal context awareness
• Complete Rust migration from shell scripts for application logic
- Separation of concerns architecture: src/bin/ for CLI, library modules for core logic
- All build warnings resolved through proper module structure
- Automated formatting tools applied (format_md, check-rust.sh, validate_naming)
• Test infrastructure established with integration test data files
- Created a minimal JSONL test file for basic content validation
- Added HNSW index data file with a significant amount of binary data for testing
- Introduced HNSW graph data file to support integration tests
- Added Vision character JSONL file with detailed attributes and themes for validation
• Self-documenting tools with comprehensive --help flags
• Vector search architecture with character-based chunking (≤250 chars)
Testing Notes: Model responses validated for role awareness, domain knowledge retrieval, and structured JSON output suitable for programmatic integration.1 parent 89f194f commit 39643b5
File tree
36 files changed
+2498
-553
lines changed- docs/vector-search
- src
- bin
- core/embedding
- ingest
- utils
- json-tools
- json_tools
- system
- validation
- tests
- fixtures
- integration/query_test_data
- data
36 files changed
+2498
-553
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | | - | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | | - | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
206 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
207 | 257 | | |
208 | 258 | | |
209 | 259 | | |
| |||
215 | 265 | | |
216 | 266 | | |
217 | 267 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
227 | 277 | | |
228 | 278 | | |
229 | 279 | | |
| |||
234 | 284 | | |
235 | 285 | | |
236 | 286 | | |
237 | | - | |
| 287 | + | |
238 | 288 | | |
239 | | - | |
| 289 | + | |
240 | 290 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 291 | | |
245 | | - | |
| 292 | + | |
246 | 293 | | |
247 | | - | |
248 | | - | |
249 | | - | |
| 294 | + | |
250 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
251 | 300 | | |
252 | 301 | | |
253 | 302 | | |
254 | 303 | | |
255 | | - | |
256 | | - | |
| 304 | + | |
| 305 | + | |
257 | 306 | | |
258 | 307 | | |
259 | 308 | | |
260 | | - | |
261 | | - | |
262 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
263 | 312 | | |
264 | 313 | | |
265 | 314 | | |
266 | 315 | | |
267 | 316 | | |
268 | 317 | | |
269 | | - | |
| 318 | + | |
270 | 319 | | |
271 | 320 | | |
272 | | - | |
| 321 | + | |
273 | 322 | | |
274 | 323 | | |
275 | | - | |
| 324 | + | |
276 | 325 | | |
277 | 326 | | |
278 | | - | |
| 327 | + | |
279 | 328 | | |
280 | 329 | | |
281 | | - | |
| 330 | + | |
282 | 331 | | |
283 | 332 | | |
284 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
69 | | - | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments