Commit Graph

18 Commits

Author SHA1 Message Date
rafa-ruiz ce2306c4e5 [DOC] ADR-0008 RC-03: add prior probability rationale
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 19:56:28 -07:00
rafa-ruiz 4b9e1ff4ca [DOC] ADR-0008: add formal routing contract (RC-01 to RC-06)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 19:54:06 -07:00
rafa-ruiz d7baccd8f0 [FEATURE] Adaptive query routing: PLATFORM type, model specialization, intent history classifier
- Add PLATFORM query type that bypasses RAG and uses a lighter model
- Introduce OLLAMA_MODEL_NAME_CONVERSATIONAL env var to route CONVERSATIONAL
  and PLATFORM queries to a separate (smaller) Ollama model
- Replace raw message history in classifier with compact intent history
  (classify_history) to eliminate anchoring bias in small models
- Add <history_rule> and <platform_priority_rule> to classifier prompt so
  the model evaluates each message independently while still resolving
  ambiguous references from prior turns
- Add fast-path detection for known platform-injected prompt prefixes
- Add PLATFORM_PROMPT for account/metrics/usage responses
- Persist classify_history in classify_history_store alongside session_store
- Document decisions in ADR-0008

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 19:47:27 -07:00
rafa-ruiz c886cc9811 [DOC] ADR0007 and RP0001 2026-04-07 00:25:13 -07:00
rafa-ruiz aa138783f3 Golden dataset 2026-03-31 01:40:53 -07:00
rafa-ruiz 6ee8583894 update 2026-03-31 01:40:23 -07:00
izapata 4deda83a8e Add BEIR analysis notebooks and evaluation pipeline for embedding models
- Created `n00 Beir Analysis_cosqa.ipynb` for analyzing CoSQA dataset with BEIR.
- Created `n00 first Analysis.ipynb` for initial analysis using Ragas and Ollama embeddings.
- Implemented `evaluate_embeddings_pipeline.py` to evaluate embedding models across CodexGlue, CoSQA, and SciFact benchmarks.
- Added adapters for Ollama and HuggingFace embeddings to ensure compatibility with BEIR.
- Included functions to load datasets and evaluate models with detailed metrics.
2026-03-26 16:53:20 +01:00
rafa-ruiz ccd9073a52 feat(dataset): add ADR-0006 and scaffold reward algorithm pipeline 2026-03-25 22:19:19 -07:00
rafa-ruiz 59c1748594 feat: editor context injection (PRD-0002) + repository governance 2026-03-20 19:43:48 -07:00
rafa-ruiz 2fbfad41df feat: editor context injection (PRD-0002) + repository governance 2026-03-20 19:25:29 -07:00
rafa-ruiz fda47edae0 UPGRADE: New RAG functional 2026-03-18 18:56:01 -07:00
acano 0abbae93a4 docs: update usage instructions and improve validation error messages in generate_mbap.py 2026-03-12 13:19:10 +01:00
acano de21bcb5fb Refactor code structure for improved readability and maintainability 2026-03-11 17:48:54 +01:00
rafa-ruiz 7839793eff docs: align function syntax and cleanup docker config 2026-03-05 11:57:29 -08:00
rafa-ruiz 8379033900 Sample avap code 2026-03-04 20:21:27 -08:00
rafa-ruiz 1c9ee8d5dd docs(core): add official AVAP documentation in Markdown (iii) 2026-03-04 18:44:22 -08:00
rafa-ruiz 0113b32f8a docs(core): add official AVAP documentation in Markdown (ii) 2026-03-04 18:31:50 -08:00
rafa-ruiz 2d66266fd8 docs(core): add official AVAP documentation in Markdown 2026-03-04 18:25:15 -08:00