@techwavedev/agi-agent-kit 1.1.7 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @techwavedev/agi-agent-kit might be problematic. Click here for more details.

Files changed (111) hide show
  1. package/CHANGELOG.md +82 -1
  2. package/README.md +190 -12
  3. package/bin/init.js +30 -2
  4. package/package.json +6 -3
  5. package/templates/base/AGENTS.md +54 -23
  6. package/templates/base/README.md +325 -0
  7. package/templates/base/directives/memory_integration.md +95 -0
  8. package/templates/base/execution/memory_manager.py +309 -0
  9. package/templates/base/execution/session_boot.py +218 -0
  10. package/templates/base/execution/session_init.py +320 -0
  11. package/templates/base/skill-creator/SKILL_skillcreator.md +23 -36
  12. package/templates/base/skill-creator/scripts/init_skill.py +18 -135
  13. package/templates/skills/ec/README.md +31 -0
  14. package/templates/skills/ec/aws/SKILL.md +1020 -0
  15. package/templates/skills/ec/aws/defaults.yaml +13 -0
  16. package/templates/skills/ec/aws/references/common_patterns.md +80 -0
  17. package/templates/skills/ec/aws/references/mcp_servers.md +98 -0
  18. package/templates/skills/ec/aws-terraform/SKILL.md +349 -0
  19. package/templates/skills/ec/aws-terraform/references/best_practices.md +394 -0
  20. package/templates/skills/ec/aws-terraform/references/checkov_reference.md +337 -0
  21. package/templates/skills/ec/aws-terraform/scripts/configure_mcp.py +150 -0
  22. package/templates/skills/ec/confluent-kafka/SKILL.md +655 -0
  23. package/templates/skills/ec/confluent-kafka/references/ansible_playbooks.md +792 -0
  24. package/templates/skills/ec/confluent-kafka/references/ec_deployment.md +579 -0
  25. package/templates/skills/ec/confluent-kafka/references/kraft_migration.md +490 -0
  26. package/templates/skills/ec/confluent-kafka/references/troubleshooting.md +778 -0
  27. package/templates/skills/ec/confluent-kafka/references/upgrade_7x_to_8x.md +488 -0
  28. package/templates/skills/ec/confluent-kafka/scripts/kafka_health_check.py +435 -0
  29. package/templates/skills/ec/confluent-kafka/scripts/upgrade_preflight.py +568 -0
  30. package/templates/skills/ec/confluent-kafka/scripts/validate_config.py +455 -0
  31. package/templates/skills/ec/consul/SKILL.md +427 -0
  32. package/templates/skills/ec/consul/references/acl_setup.md +168 -0
  33. package/templates/skills/ec/consul/references/ha_config.md +196 -0
  34. package/templates/skills/ec/consul/references/troubleshooting.md +267 -0
  35. package/templates/skills/ec/consul/references/upgrades.md +213 -0
  36. package/templates/skills/ec/consul/scripts/consul_health_report.py +530 -0
  37. package/templates/skills/ec/consul/scripts/consul_status.py +264 -0
  38. package/templates/skills/ec/consul/scripts/generate_values.py +170 -0
  39. package/templates/skills/ec/documentation/SKILL.md +351 -0
  40. package/templates/skills/ec/documentation/references/best_practices.md +201 -0
  41. package/templates/skills/ec/documentation/scripts/analyze_code.py +307 -0
  42. package/templates/skills/ec/documentation/scripts/detect_changes.py +460 -0
  43. package/templates/skills/ec/documentation/scripts/generate_changelog.py +312 -0
  44. package/templates/skills/ec/documentation/scripts/sync_docs.py +272 -0
  45. package/templates/skills/ec/documentation/scripts/update_skill_docs.py +366 -0
  46. package/templates/skills/ec/gitlab/SKILL.md +529 -0
  47. package/templates/skills/ec/gitlab/references/agent_installation.md +416 -0
  48. package/templates/skills/ec/gitlab/references/api_reference.md +508 -0
  49. package/templates/skills/ec/gitlab/references/gitops_flux.md +465 -0
  50. package/templates/skills/ec/gitlab/references/troubleshooting.md +518 -0
  51. package/templates/skills/ec/gitlab/scripts/generate_agent_values.py +329 -0
  52. package/templates/skills/ec/gitlab/scripts/gitlab_agent_status.py +414 -0
  53. package/templates/skills/ec/jira/SKILL.md +484 -0
  54. package/templates/skills/ec/jira/references/jql_reference.md +148 -0
  55. package/templates/skills/ec/jira/scripts/add_comment.py +91 -0
  56. package/templates/skills/ec/jira/scripts/bulk_log_work.py +124 -0
  57. package/templates/skills/ec/jira/scripts/create_ticket.py +162 -0
  58. package/templates/skills/ec/jira/scripts/get_ticket.py +191 -0
  59. package/templates/skills/ec/jira/scripts/jira_client.py +383 -0
  60. package/templates/skills/ec/jira/scripts/log_work.py +154 -0
  61. package/templates/skills/ec/jira/scripts/search_tickets.py +104 -0
  62. package/templates/skills/ec/jira/scripts/update_comment.py +67 -0
  63. package/templates/skills/ec/jira/scripts/update_ticket.py +161 -0
  64. package/templates/skills/ec/karpenter/SKILL.md +301 -0
  65. package/templates/skills/ec/karpenter/references/ec2nodeclasses.md +421 -0
  66. package/templates/skills/ec/karpenter/references/migration.md +396 -0
  67. package/templates/skills/ec/karpenter/references/nodepools.md +400 -0
  68. package/templates/skills/ec/karpenter/references/troubleshooting.md +359 -0
  69. package/templates/skills/ec/karpenter/scripts/generate_ec2nodeclass.py +187 -0
  70. package/templates/skills/ec/karpenter/scripts/generate_nodepool.py +245 -0
  71. package/templates/skills/ec/karpenter/scripts/karpenter_status.py +359 -0
  72. package/templates/skills/ec/opensearch/SKILL.md +720 -0
  73. package/templates/skills/ec/opensearch/references/ml_neural_search.md +576 -0
  74. package/templates/skills/ec/opensearch/references/operator.md +532 -0
  75. package/templates/skills/ec/opensearch/references/query_dsl.md +532 -0
  76. package/templates/skills/ec/opensearch/scripts/configure_mcp.py +148 -0
  77. package/templates/skills/ec/victoriametrics/SKILL.md +598 -0
  78. package/templates/skills/ec/victoriametrics/references/kubernetes.md +531 -0
  79. package/templates/skills/ec/victoriametrics/references/prometheus_migration.md +333 -0
  80. package/templates/skills/ec/victoriametrics/references/troubleshooting.md +442 -0
  81. package/templates/skills/knowledge/SKILLS_CATALOG.md +274 -4
  82. package/templates/skills/knowledge/intelligent-routing/SKILL.md +237 -164
  83. package/templates/skills/knowledge/parallel-agents/SKILL.md +345 -73
  84. package/templates/skills/knowledge/plugin-discovery/SKILL.md +582 -0
  85. package/templates/skills/knowledge/plugin-discovery/scripts/platform_setup.py +1083 -0
  86. package/templates/skills/knowledge/design-md/README.md +0 -34
  87. package/templates/skills/knowledge/design-md/SKILL.md +0 -193
  88. package/templates/skills/knowledge/design-md/examples/DESIGN.md +0 -154
  89. package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +0 -71
  90. package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +0 -24
  91. package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +0 -34
  92. package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +0 -19
  93. package/templates/skills/knowledge/react-components/README.md +0 -36
  94. package/templates/skills/knowledge/react-components/SKILL.md +0 -53
  95. package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +0 -80
  96. package/templates/skills/knowledge/react-components/package-lock.json +0 -231
  97. package/templates/skills/knowledge/react-components/package.json +0 -16
  98. package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +0 -15
  99. package/templates/skills/knowledge/react-components/resources/component-template.tsx +0 -37
  100. package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +0 -14
  101. package/templates/skills/knowledge/react-components/resources/style-guide.json +0 -27
  102. package/templates/skills/knowledge/react-components/scripts/fetch-stitch.sh +0 -30
  103. package/templates/skills/knowledge/react-components/scripts/validate.js +0 -68
  104. package/templates/skills/knowledge/self-update/SKILL.md +0 -60
  105. package/templates/skills/knowledge/self-update/scripts/update_kit.py +0 -103
  106. package/templates/skills/knowledge/stitch-loop/README.md +0 -54
  107. package/templates/skills/knowledge/stitch-loop/SKILL.md +0 -235
  108. package/templates/skills/knowledge/stitch-loop/examples/SITE.md +0 -73
  109. package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +0 -25
  110. package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +0 -61
  111. package/templates/skills/knowledge/stitch-loop/resources/site-template.md +0 -104
@@ -0,0 +1,576 @@
1
+ # ML/AI & Neural Search Reference
2
+
3
+ Comprehensive guide for machine learning and semantic search in OpenSearch.
4
+
5
+ ## ML Commons Plugin
6
+
7
+ ### Enable ML Commons
8
+
9
+ ```yaml
10
+ # opensearch.yml
11
+ plugins.ml_commons.only_run_on_ml_node: false
12
+ plugins.ml_commons.model_access_control_enabled: true
13
+ plugins.ml_commons.native_memory_threshold: 90
14
+ plugins.ml_commons.allow_registering_model_via_url: true
15
+ ```
16
+
17
+ ### Cluster Settings
18
+
19
+ ```json
20
+ PUT /_cluster/settings
21
+ {
22
+ "persistent": {
23
+ "plugins.ml_commons.only_run_on_ml_node": false,
24
+ "plugins.ml_commons.model_access_control_enabled": true,
25
+ "plugins.ml_commons.native_memory_threshold": 90
26
+ }
27
+ }
28
+ ```
29
+
30
+ ---
31
+
32
+ ## Model Management
33
+
34
+ ### List Models
35
+
36
+ ```json
37
+ GET /_plugins/_ml/models/_search
38
+ {
39
+ "query": { "match_all": {} },
40
+ "size": 100
41
+ }
42
+ ```
43
+
44
+ ### Register Model (Local)
45
+
46
+ ```json
47
+ POST /_plugins/_ml/models/_register
48
+ {
49
+ "name": "sentence-transformers/all-MiniLM-L6-v2",
50
+ "version": "1.0.1",
51
+ "model_format": "TORCH_SCRIPT",
52
+ "model_config": {
53
+ "model_type": "bert",
54
+ "embedding_dimension": 384,
55
+ "framework_type": "sentence_transformers"
56
+ }
57
+ }
58
+ ```
59
+
60
+ ### Register Model (Remote/Connector)
61
+
62
+ ```json
63
+ POST /_plugins/_ml/connectors/_create
64
+ {
65
+ "name": "Amazon Bedrock Titan Embeddings",
66
+ "description": "Connector for Titan embedding model",
67
+ "version": "1.0",
68
+ "protocol": "aws_sigv4",
69
+ "credential": {
70
+ "access_key": "${aws.access_key}",
71
+ "secret_key": "${aws.secret_key}"
72
+ },
73
+ "parameters": {
74
+ "region": "us-east-1",
75
+ "service_name": "bedrock"
76
+ },
77
+ "actions": [
78
+ {
79
+ "action_type": "predict",
80
+ "method": "POST",
81
+ "url": "https://bedrock-runtime.us-east-1.amazonaws.com/model/amazon.titan-embed-text-v1/invoke",
82
+ "headers": {
83
+ "Content-Type": "application/json"
84
+ },
85
+ "request_body": "{ \"inputText\": \"${parameters.inputText}\" }",
86
+ "pre_process_function": "connector.pre_process.bedrock.embedding",
87
+ "post_process_function": "connector.post_process.bedrock.embedding"
88
+ }
89
+ ]
90
+ }
91
+ ```
92
+
93
+ ### Deploy Model
94
+
95
+ ```json
96
+ POST /_plugins/_ml/models/<model_id>/_deploy
97
+ ```
98
+
99
+ ### Undeploy Model
100
+
101
+ ```json
102
+ POST /_plugins/_ml/models/<model_id>/_undeploy
103
+ ```
104
+
105
+ ### Delete Model
106
+
107
+ ```json
108
+ DELETE /_plugins/_ml/models/<model_id>
109
+ ```
110
+
111
+ ---
112
+
113
+ ## Pre-trained Models
114
+
115
+ ### Recommended Models
116
+
117
+ | Model | Dimensions | Use Case |
118
+ | --------------------------------------- | ---------- | ---------------------- |
119
+ | `all-MiniLM-L6-v2` | 384 | Fast, general purpose |
120
+ | `all-mpnet-base-v2` | 768 | Higher quality, slower |
121
+ | `paraphrase-multilingual-MiniLM-L12-v2` | 384 | Multilingual support |
122
+ | `msmarco-distilbert-base-tas-b` | 768 | Passage retrieval |
123
+
124
+ ### Register Pre-trained Model
125
+
126
+ ```json
127
+ POST /_plugins/_ml/models/_register
128
+ {
129
+ "name": "huggingface/sentence-transformers/all-MiniLM-L6-v2",
130
+ "version": "1.0.1",
131
+ "model_group_id": "<model_group_id>",
132
+ "model_format": "TORCH_SCRIPT"
133
+ }
134
+ ```
135
+
136
+ ---
137
+
138
+ ## Neural Search Pipelines
139
+
140
+ ### Create Ingest Pipeline
141
+
142
+ ```json
143
+ PUT /_ingest/pipeline/neural-search-pipeline
144
+ {
145
+ "description": "Pipeline for neural search embeddings",
146
+ "processors": [
147
+ {
148
+ "text_embedding": {
149
+ "model_id": "<model_id>",
150
+ "field_map": {
151
+ "title": "title_embedding",
152
+ "description": "description_embedding"
153
+ }
154
+ }
155
+ }
156
+ ]
157
+ }
158
+ ```
159
+
160
+ ### Multi-field Pipeline
161
+
162
+ ```json
163
+ PUT /_ingest/pipeline/multi-field-embedding
164
+ {
165
+ "description": "Generate embeddings for multiple fields",
166
+ "processors": [
167
+ {
168
+ "text_embedding": {
169
+ "model_id": "<model_id>",
170
+ "field_map": {
171
+ "title": "title_embedding"
172
+ }
173
+ }
174
+ },
175
+ {
176
+ "text_embedding": {
177
+ "model_id": "<model_id>",
178
+ "field_map": {
179
+ "content": "content_embedding"
180
+ }
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ ```
186
+
187
+ ### Search Pipeline (Query-time Embedding)
188
+
189
+ ```json
190
+ PUT /_search/pipeline/neural-search-pipeline
191
+ {
192
+ "request_processors": [
193
+ {
194
+ "neural_query_enricher": {
195
+ "neural_field_default_id": {
196
+ "description_embedding": "<model_id>"
197
+ }
198
+ }
199
+ }
200
+ ]
201
+ }
202
+ ```
203
+
204
+ ---
205
+
206
+ ## KNN Index Configuration
207
+
208
+ ### Create KNN Index
209
+
210
+ ```json
211
+ PUT /semantic-products
212
+ {
213
+ "settings": {
214
+ "index": {
215
+ "knn": true,
216
+ "knn.algo_param.ef_search": 100,
217
+ "default_pipeline": "neural-search-pipeline"
218
+ }
219
+ },
220
+ "mappings": {
221
+ "properties": {
222
+ "title": { "type": "text" },
223
+ "description": { "type": "text" },
224
+ "title_embedding": {
225
+ "type": "knn_vector",
226
+ "dimension": 384,
227
+ "method": {
228
+ "name": "hnsw",
229
+ "space_type": "l2",
230
+ "engine": "lucene",
231
+ "parameters": {
232
+ "ef_construction": 128,
233
+ "m": 16
234
+ }
235
+ }
236
+ },
237
+ "description_embedding": {
238
+ "type": "knn_vector",
239
+ "dimension": 384,
240
+ "method": {
241
+ "name": "hnsw",
242
+ "space_type": "cosinesimil",
243
+ "engine": "nmslib",
244
+ "parameters": {
245
+ "ef_construction": 256,
246
+ "m": 24
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
253
+ ```
254
+
255
+ ### KNN Engines
256
+
257
+ | Engine | Best For | Space Types |
258
+ | -------- | ----------------- | ----------------------------- |
259
+ | `lucene` | General use, HNSW | l2, cosinesimil |
260
+ | `nmslib` | High recall | l2, cosinesimil, innerproduct |
261
+ | `faiss` | Large scale | l2, innerproduct |
262
+
263
+ ### Space Types
264
+
265
+ | Space Type | Description |
266
+ | -------------- | ------------------ |
267
+ | `l2` | Euclidean distance |
268
+ | `cosinesimil` | Cosine similarity |
269
+ | `innerproduct` | Dot product |
270
+
271
+ ---
272
+
273
+ ## Neural Search Queries
274
+
275
+ ### Basic Neural Query
276
+
277
+ ```json
278
+ POST /semantic-products/_search
279
+ {
280
+ "query": {
281
+ "neural": {
282
+ "description_embedding": {
283
+ "query_text": "comfortable running shoes for marathon",
284
+ "model_id": "<model_id>",
285
+ "k": 10
286
+ }
287
+ }
288
+ }
289
+ }
290
+ ```
291
+
292
+ ### Neural with Filter
293
+
294
+ ```json
295
+ POST /semantic-products/_search
296
+ {
297
+ "query": {
298
+ "neural": {
299
+ "description_embedding": {
300
+ "query_text": "durable hiking boots",
301
+ "model_id": "<model_id>",
302
+ "k": 20,
303
+ "filter": {
304
+ "bool": {
305
+ "must": [
306
+ { "term": { "category": "footwear" } },
307
+ { "range": { "price": { "lte": 200 } } }
308
+ ]
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ ```
316
+
317
+ ### KNN Query (Pre-computed Vector)
318
+
319
+ ```json
320
+ POST /semantic-products/_search
321
+ {
322
+ "query": {
323
+ "knn": {
324
+ "description_embedding": {
325
+ "vector": [0.1, 0.2, 0.3, ...],
326
+ "k": 10
327
+ }
328
+ }
329
+ }
330
+ }
331
+ ```
332
+
333
+ ---
334
+
335
+ ## Hybrid Search
336
+
337
+ ### Neural + Keyword (Simple)
338
+
339
+ ```json
340
+ POST /semantic-products/_search
341
+ {
342
+ "query": {
343
+ "hybrid": {
344
+ "queries": [
345
+ {
346
+ "match": {
347
+ "title": {
348
+ "query": "running shoes",
349
+ "boost": 0.3
350
+ }
351
+ }
352
+ },
353
+ {
354
+ "neural": {
355
+ "description_embedding": {
356
+ "query_text": "running shoes",
357
+ "model_id": "<model_id>",
358
+ "k": 50
359
+ }
360
+ }
361
+ }
362
+ ]
363
+ }
364
+ }
365
+ }
366
+ ```
367
+
368
+ ### Hybrid with Normalization
369
+
370
+ ```json
371
+ PUT /_search/pipeline/hybrid-pipeline
372
+ {
373
+ "description": "Hybrid search with score normalization",
374
+ "phase_results_processors": [
375
+ {
376
+ "normalization-processor": {
377
+ "normalization": {
378
+ "technique": "min_max"
379
+ },
380
+ "combination": {
381
+ "technique": "arithmetic_mean",
382
+ "parameters": {
383
+ "weights": [0.3, 0.7]
384
+ }
385
+ }
386
+ }
387
+ }
388
+ ]
389
+ }
390
+ ```
391
+
392
+ ```json
393
+ POST /semantic-products/_search?search_pipeline=hybrid-pipeline
394
+ {
395
+ "query": {
396
+ "hybrid": {
397
+ "queries": [
398
+ { "match": { "title": "running shoes" } },
399
+ {
400
+ "neural": {
401
+ "description_embedding": {
402
+ "query_text": "running shoes",
403
+ "model_id": "<model_id>",
404
+ "k": 50
405
+ }
406
+ }
407
+ }
408
+ ]
409
+ }
410
+ }
411
+ }
412
+ ```
413
+
414
+ ### Normalization Techniques
415
+
416
+ | Technique | Description |
417
+ | --------- | ---------------------------- |
418
+ | `min_max` | Scale scores to [0, 1] range |
419
+ | `l2` | L2 normalization |
420
+
421
+ ### Combination Techniques
422
+
423
+ | Technique | Description |
424
+ | ----------------- | --------------------------- |
425
+ | `arithmetic_mean` | Simple average with weights |
426
+ | `geometric_mean` | Geometric average |
427
+ | `harmonic_mean` | Harmonic average |
428
+
429
+ ---
430
+
431
+ ## Semantic Highlighting (Experimental)
432
+
433
+ ```json
434
+ POST /semantic-products/_search
435
+ {
436
+ "query": {
437
+ "neural": {
438
+ "description_embedding": {
439
+ "query_text": "comfortable shoes",
440
+ "model_id": "<model_id>",
441
+ "k": 10
442
+ }
443
+ }
444
+ },
445
+ "highlight": {
446
+ "fields": {
447
+ "description": {}
448
+ }
449
+ }
450
+ }
451
+ ```
452
+
453
+ ---
454
+
455
+ ## Reranking
456
+
457
+ ### Cross-Encoder Reranking
458
+
459
+ ```json
460
+ PUT /_search/pipeline/rerank-pipeline
461
+ {
462
+ "response_processors": [
463
+ {
464
+ "rerank": {
465
+ "ml_opensearch": {
466
+ "model_id": "<cross_encoder_model_id>"
467
+ },
468
+ "context": {
469
+ "document_fields": ["title", "description"]
470
+ }
471
+ }
472
+ }
473
+ ]
474
+ }
475
+ ```
476
+
477
+ ---
478
+
479
+ ## Performance Tuning
480
+
481
+ ### Index Settings
482
+
483
+ ```json
484
+ PUT /semantic-index/_settings
485
+ {
486
+ "index": {
487
+ "knn.algo_param.ef_search": 100,
488
+ "knn.space_type": "cosinesimil"
489
+ }
490
+ }
491
+ ```
492
+
493
+ ### Reduce Memory Usage
494
+
495
+ ```json
496
+ PUT /semantic-index
497
+ {
498
+ "mappings": {
499
+ "properties": {
500
+ "embedding": {
501
+ "type": "knn_vector",
502
+ "dimension": 384,
503
+ "data_type": "float16" // Use 16-bit floats
504
+ }
505
+ }
506
+ }
507
+ }
508
+ ```
509
+
510
+ ### Batch Indexing
511
+
512
+ ```json
513
+ POST /_bulk
514
+ {"index":{"_index":"semantic-products","_id":"1","pipeline":"neural-search-pipeline"}}
515
+ {"title":"Running Shoes","description":"Lightweight and comfortable"}
516
+ {"index":{"_index":"semantic-products","_id":"2","pipeline":"neural-search-pipeline"}}
517
+ {"title":"Hiking Boots","description":"Durable and waterproof"}
518
+ ```
519
+
520
+ ---
521
+
522
+ ## Model Monitoring
523
+
524
+ ### Check Model Status
525
+
526
+ ```json
527
+ GET /_plugins/_ml/models/<model_id>
528
+ ```
529
+
530
+ ### Model Stats
531
+
532
+ ```json
533
+ GET /_plugins/_ml/models/<model_id>/_stats
534
+ ```
535
+
536
+ ### Profile Inference
537
+
538
+ ```json
539
+ POST /_plugins/_ml/models/<model_id>/_predict
540
+ {
541
+ "parameters": {
542
+ "texts": ["Sample text to embed"]
543
+ }
544
+ }
545
+ ```
546
+
547
+ ---
548
+
549
+ ## Troubleshooting
550
+
551
+ ### Model Not Found
552
+
553
+ ```bash
554
+ # Check if model is registered
555
+ GET /_plugins/_ml/models/_search
556
+
557
+ # Check if model is deployed
558
+ GET /_plugins/_ml/models/<model_id>/_status
559
+ ```
560
+
561
+ ### Out of Memory
562
+
563
+ ```yaml
564
+ # Increase native memory threshold
565
+ plugins.ml_commons.native_memory_threshold: 95
566
+
567
+ # Or use dedicated ML nodes
568
+ plugins.ml_commons.only_run_on_ml_node: true
569
+ ```
570
+
571
+ ### Slow Inference
572
+
573
+ 1. Check model deployment status
574
+ 2. Use smaller model (e.g., MiniLM instead of mpnet)
575
+ 3. Batch requests when possible
576
+ 4. Use dedicated ML nodes