MSCA PhD Researcher | AI, Cybersecurity & Ontology-Governed Data Platforms | Agentic AI & DataOps
Granada, SpainRemote8+ years 4.5
expert — AI tests passed
Marie Skłodowska-Curie PhD Scholar at the Universidad de Granada (IntelliWind, Horizon Europe), researching secure AI, knowledge graphs and blockchain for autonomous wind farms. I architect ontology-governed knowledge graphs (OWL, SHACL, SPARQL, R2RML), ETL/ELT pipelines (Dagster, Kafka, TimescaleDB) and agentic AI systems with federated GraphRAG and tiered agent memory, built on real wind-farm operational data (15M+ SCADA rows). Founder of Veritas AI DB and Symphysis. Former Senior AI Developer at Syllaby AI, Project Lead of the Continuous Delivery Foundation DataOps Landscape, ISO 27001 Lead Auditor, ex-Pakistan Navy Lieutenant Commander, EC-Council course author, and author of "Open for Business" (Taylor & Francis, 2025). I build trust-aware systems that prioritize security, explainability and scalability.
Worked on Project Cogtwins, a TRL-3 to 6 ontology-governed, neuro-symbolic Cognitive Digital Twin for wind-farm O&M, in a de facto system-architect capacity. Built the OWL core ontology with SHACL validation gate, a Dagster ETL pipeline, an Ontop virtual knowledge graph over TimescaleDB (15.1M SCADA rows), federated GraphRAG, and a Hyperledger Fabric provenance network.
Researching a secure IT framework for autonomous wind farm operation and maintenance based on blockchain, smart contracts and AI (IntelliWind, Horizon Europe). Architected Project Veritas, an ontology-aware, blockchain-backed agentic polyglot persistence database of 10 microservices processing real SCADA, maintenance and document data. Principal Investigator of a STRIDE threat-modeling research effort on the Veritas architecture.
Led the DataOps Landscape Initiative: vision, roadmap, governance, evaluation criteria and inclusion standards for open-source DataOps projects. Member of the CD Foundation AI Special Interest Group.
Led image-generation pipelines (Flux, SDXL, ComfyUI, ControlNet, LoRA fine-tuning), Dockerized microservices, Django and Kubernetes ML inference on DigitalOcean, voice and text-to-video pipelines, and an n8n agentic brainstorming platform.
Built RPA workflows, ASR/TTS/voice-cloning systems and speaker diarization (Pyannote, Whisper), and integrated LLMs via OpenRouter.
Pre-sales technical lead linking US clients and the global development team; scoped, trained and deployed AI solutions.
Ontology-aware, blockchain-backed agentic polyglot persistence platform integrating 7 stores (PostgreSQL, Neo4j, OpenSearch, Qdrant, Redis, TimescaleDB, Hyperledger Fabric) with GraphRAG and dual-uncertainty trust scoring.
Impact: Runs on real NADARA and Penmanshiel wind-farm SCADA, maintenance and document data; PhD research system.
Config-driven agent-panel engine for expert-elicitation surveys (Best-Worst Method, AHP, Agent Cards with did:key identity), published on PyPI under Apache 2.0.
Impact: Ran a live 17-agent panel end to end against a real survey instrument.
Open-source PyPI package (MIT) converting Markdown, text and HTML into template-driven PPTX, DOCX and XLSX with deterministic, non-hallucinating rendering.
Impact: 232 automated tests, CLI and FastAPI server.
Context-engineering study of on-demand loading of coding-agent rules, skills and memory.
Impact: Measured a 75.9% reduction in per-task rule-loading token cost.
Book on harnessing open source in the corporate world, co-authored with Rahim Ali.
Impact: Published by Taylor & Francis, DOI 10.1201/[coordonnée masquée].
Linked to project Project Veritas / Veritas AI DB
Embeddings, reranker and LLM are all healthy, so the fault is upstream in retrieval. 512-token chunks without overlap mix several topics (remote policy and parental leave), so the embedding of a chunk is a blend and the top hits are off-topic. Fix: smaller semantic chunks (around 200 to 300 tokens) with 10 to 15 percent overlap, split on headings, and a metadata filter by policy section. Temperature and language instructions do not change which passages are retrieved.
Linked to project Project Veritas / Veritas AI DB
Prompt injection is an input-trust problem, so the defense must be structural. Keep system instructions separate from user input with delimiters or distinct message roles, treat user text as data, filter intent before the model call, and validate the output (no internal refund data leaves, enforce least-privilege access to that data server-side). Larger max_tokens, temperature 0 or hiding the stream do not stop the model from following injected instructions. No single control is enough, so layer them and log attempts.
Linked to project Project Veritas / Veritas AI DB
The risk is factual hallucination against source documents, so I prioritise faithfulness (groundedness): every claim in the answer must be supported by the retrieved context, measured by claim-level checks or an LLM judge against the context. BLEU only measures n-gram overlap with a reference, perplexity measures fluency not truth, and P95 latency is an operational metric. I would pair it with retrieval recall and answer relevance, and add a held-out set of legal questions with a pass threshold before release.
Linked to project Project Veritas / Veritas AI DB
Linked to project Project Veritas / Veritas AI DB
Content changes weekly, so knowledge should live in an index, not in the weights. RAG with hybrid search (BM25 for exact product references plus dense vectors) and a reranker gives fresh answers by re-indexing changed fiches, adds citations, and costs far less than weekly fine-tuning, which is slow, expensive and risks forgetting. Stuffing all 500 fiches in every prompt wastes tokens and hurts latency and accuracy. RLHF on transcripts targets tone, not facts. Fine-tuning can be added later for style or format, not for knowledge.
Linked to project Project Veritas / Veritas AI DB
Exact legal references are lexical matches that dense embeddings blur. Hybrid search runs BM25 (exact tokens such as 'L123-4') and dense retrieval in parallel, fuses the ranked lists with Reciprocal Rank Fusion, then a cross-encoder reranker orders the top candidates. This keeps semantic recall and guarantees exact-reference hits. Temperature does not affect retrieval, 32-token chunks lose context, and a smaller model only changes latency.
Linked to project Project Veritas / Veritas AI DB
At 10k requests per day the load is modest, so cost and tail latency come from model size and repeated work. Route simple intents to a small fast model and escalate hard ones to a larger model, cache answers to frequent FAQs (exact and semantic cache), and precompute embeddings in batch offline. Also stream tokens, cap max_tokens sensibly, and keep the reranker for quality. The largest model for everything breaks the 2 s P95 and the budget; 4096 max_tokens raises latency and cost; dropping the reranker trades away answer quality.
Linked to project Project Veritas / Veritas AI DB
The store is a production dependency, so selection is about operations and query needs, not model leaderboards. Key criteria: metadata filtering (tenant_id, language) with efficient pre-filtering in the ANN search, scalability to 5M chunks and growth, 99.9 percent availability with replication and backups, monitoring, cost, and fit with the existing AWS stack (managed service or pgvector/OpenSearch on AWS) given the small ops team. MTEB scores concern the embedding model, not the store. Fine-tuning support is irrelevant to the index, and more dimensions raise memory and cost.
Linked to project Project Veritas / Veritas AI DB
The question has two data needs with different natures: live weather from an external API and private HR data indexed for retrieval. Use an orchestrator or intent router: the LLM calls a weather tool (function calling with a typed schema) and a retrieval step for leave balances, scoped to the user's identity and permissions, then composes one answer. A single RAG pipeline cannot serve live API data, weekly fine-tuning bakes in stale data, and an unbounded system prompt breaks token limits and leaks data. Add timeouts, fallbacks and logging per tool call.
Linked to project Project Veritas / Veritas AI DB
Hallucination falls when the answer is forced to be grounded and that is measured. Require citations to retrieved chunks, instruct the model to refuse or say it does not know when the context is insufficient, keep temperature low, and run a faithfulness evaluation in CI so regressions are caught before release. High temperature and a creativity prompt increase fabrication, top_k 100 without a reranker floods the context with noise, and removing the system prompt removes the grounding rules.
Linked to project Project Veritas / Veritas AI DB
Linked to project Project Veritas / Veritas AI DB
Linked to project Project Veritas / Veritas AI DB
Step is size minus overlap. The loop stops once a chunk reaches the end of the text, so no redundant tail chunk fully contained in the previous one is emitted; the last chunk may be shorter. Invalid parameters raise ValueError to avoid an infinite loop when overlap >= size, and empty text returns an empty list. Complexity is linear in the text length times the overlap ratio.
Linked to project Project Veritas / Veritas AI DB
Dot product divided by the product of the L2 norms. A zero-norm vector returns 0.0 as required, which avoids division by zero. Mismatched lengths raise ValueError rather than silently truncating through zip. Pure Python with math, O(n) time and O(1) extra space.
Linked to project Project Veritas / Veritas AI DB
Linked to project Project Veritas / Veritas AI DB
Tests taken on Ganloss technical tests.