Commit Graph

31 Commits

Author SHA1 Message Date
izapata 08c5aded35 fix(docs): improve formatting and readability in ADR-0005 for embedding model selection 2026-03-26 15:32:23 +01:00
acano d50f33c707 Merge branch 'online' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-26 09:37:57 +01:00
rafa-ruiz ccd9073a52 feat(dataset): add ADR-0006 and scaffold reward algorithm pipeline 2026-03-25 22:19:19 -07:00
acano bd542bb14d Continued ADR-0005 and created ADR-0006 2026-03-25 10:27:41 +01:00
acano 1442a632c9 fixed avap examples (not coherent with official avap bnf rules) 2026-03-25 10:26:47 +01:00
acano ec57e52dea Merge branch 'online' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-23 09:12:20 +01: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
acano 868a17523a Merge online into mrh-online-dev 2026-03-19 11:25:36 +01:00
rafa-ruiz fda47edae0 UPGRADE: New RAG functional 2026-03-18 18:56:01 -07:00
acano fadf813494 Update Elasticsearch index version and enhance document processing
- Changed Elasticsearch index from "avap-docs-test-v3" to "avap-docs-test-v4" in elasticsearch_ingestion.py.
- Added Lark parser for AVAP code processing in chunk.py.
- Enhanced metadata extraction for processed documents, including AST for AVAP files.
- Improved error handling for AVAP code parsing.
2026-03-16 13:21:25 +01:00
pseco ba4a1f1efc Merge branch 'mrh-online-dev' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-12 15:56:27 +01:00
pseco d518610fee Add AVAP execution and testing scripts
- Implemented `parser v1.py` to run AVAP files in a Docker container using subprocess.
- Created `parser v2.py` to send AVAP code to a local server and handle JSON responses.
- Introduced `mbap_tester.py` as a heuristic mock executor for testing AVAP code against predefined test cases.
- Added functions for transforming AVAP code to Python and executing it in a controlled environment.
- Included error handling and summary reporting for test results in `mbap_tester.py`.
2026-03-12 15:56:22 +01:00
acano 70a191ac37 chore: Remove AVAP architectural documentation from samples 2026-03-12 13:20:08 +01: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 3aca659b3c Merge branch 'online' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-12 13:14:40 +01:00
acano ed25f15542 feat: Enhance Elasticsearch ingestion process with metadata export
- Added output path parameter to elasticsearch_ingestion command for exporting processed documents.
- Implemented ElasticHandshakeWithMetadata class to preserve chunk metadata during ingestion.
- Updated process_documents function to include extra metadata for each chunk.
- Modified ingest_documents function to return Elasticsearch response for each chunk.
- Introduced export_documents function to save processed documents as JSON files.
2026-03-12 12:26:47 +01:00
rafa-ruiz 90857e1b0a UPDATE: Modified LRM and generate_mbap.py to ensure better samples 2026-03-11 20:09:05 -07:00
acano de21bcb5fb Refactor code structure for improved readability and maintainability 2026-03-11 17:48:54 +01:00
acano 5f21544e0b Refactor Elasticsearch ingestion pipeline and add MBPP generation script
- Updated `elasticsearch_ingestion.py` to streamline document processing and ingestion into Elasticsearch.
- Introduced `generate_mbap.py` for generating benchmark problems in AVAP language from a provided LRM.
- Created `prompts.py` to define prompts for converting Python problems to AVAP.
- Enhanced chunk processing in `chunk.py` to support markdown and AVAP documents.
- Added `OllamaEmbeddings` class in `embeddings.py` for handling embeddings with Ollama model.
- Updated dependencies in `uv.lock` to include new packages and versions.
2026-03-11 17:17:44 +01:00
pseco d04c149e66 workin on scratches bnf and parsing 2026-03-11 12:28:35 +01:00
acano 0ed7dfc653 Merge branch 'online' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-11 09:57:14 +01:00
rafa-ruiz 35ca56118d feat: add MBPP-style dataset generator and evaluation docs 2026-03-10 13:37:19 -07:00
acano 745ce07805 Merge branch 'mrh-online-dev' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev 2026-03-10 14:36:17 +01:00
acano bf3c7f36d8 feat(chunk): enhance file reading and processing logic
- Updated `read_files` function to return a list of dictionaries containing 'content' and 'title' keys.
- Added logic to handle concatenation of file contents and improved handling of file prefixes.
- Introduced `get_chunk_docs` function to chunk document contents using `SemanticChunker`.
- Added `convert_chunks_to_document` function to convert chunked content into `Document` objects.
- Integrated logging for chunking process.
- Updated dependencies in `uv.lock` to include `chonkie` and other related packages.
2026-03-10 14:36:09 +01:00
pseco a9bf84fa79 feat: Add synthetic dataset generation for AVAP using MBPP dataset
- Implemented a new script `translate_mbpp.py` to generate synthetic datasets using various LLM providers.
- Integrated the `get_prompt_mbpp` function in `prompts.py` to create prompts tailored for AVAP language conversion.
2026-03-09 17:43:07 +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