Pharos Production has partnered with Pleenk to build a secure, scalable payments platform for fast transactions, fraud prevention and seamless integration with digital products. The platform processes payment flows in real time while maintaining high levels of security, transparency and reliability for both businesses and end users. Built on cloud-native infrastructure and an event-driven architecture, Pleenk provides a strong foundation for modern digital payments.
Last reviewed August 15, 2026
RAG Knowledge Systems
Pharos Production builds production-grade Retrieval-Augmented Generation (RAG) systems that ground Large Language Model (LLM) responses in your proprietary data.
- 25+ AI projects delivered
- 90+ engineers
- 108 Clutch reviews
282 published client reviews across 3 platforms (Clutch, GoodFirms, and G2). Counts are summed; reviewers may appear in more than one source.
Profiles on Clutch, GoodFirms, G2, and Glassdoor checked . Glassdoor: 46 employee reviews, 5.0/5, reported separately.
Case Study
See the products we built and the engineering work involved. Each case describes its scope and delivery context.
-
-
Pharos Production partnered with Nextcheck to replace outdated, manual onboarding with a secure, automated KYC/AML platform. Built on AWS, Kubernetes, Istio, Elixir, RabbitMQ, PostgreSQL and NextJS, the platform provides real-time biometric and document verification, risk assessment and compliance reporting. Since 2019, Nextcheck has reduced onboarding time by 60%, cut manual labor by 70% and expanded to support thousands of checks at once. Today, it powers global banks, FinTechs and crypto firms with a cloud-native, regulation-ready, growth-oriented compliance platform.
-
Pharos Production partnered with a healthcare organization to design and build MedCore, a comprehensive electronic health record platform that centralizes patient data, streamlines clinical workflows and ensures regulatory compliance. The system unifies medical records, clinical documentation, diagnostics and administrative processes within a secure, scalable digital environment. Built on a cloud-native architecture, MedCore delivers reliable performance, real-time data access and long-term scalability for healthcare providers operating at clinic, hospital and network levels.
Practice led by Dmytro Nasyrov
Founder and CTO
23+ years in custom software development. Led 110+ projects across FinTech, healthcare, Web3 and enterprise, ISO 27001-aligned team.
Technically reviewed by Victor Sineglazov, D.Sc.
Independent AI Scientific Advisor
Professor, Artificial Intelligence Department, Igor Sikorsky Kyiv Polytechnic Institute. Head of the Aviation Computer-Integrated Complexes Department, Kyiv Aviation Institute.
Reviewed for technical accuracy on August 15, 2026. Not an endorsement of any commercial claim on this page.
What is a RAG knowledge system?
Authoritative citations 5 sources
-
Lewis et al., NeurIPS 2020
The paper investigates generation using retrieved passages alongside a pretrained model.
arxiv.org 2005
-
Ragas research paper
Ragas separates context relevance, faithfulness and generation quality in RAG evaluation. Its metrics do not define universal procurement thresholds.
arxiv.org
-
NIST AI RMF
AI RMF organizes the governance, mapping, measurement and management of AI risks.
nist.gov
-
OWASP LLM Top 10
OWASP identifies prompt injection and other risks relevant to LLM applications, including systems that retrieve external content.
owasp.org
-
HHS business associate contracts
HHS describes the required provisions for business associate contracts when HIPAA applies.
hhs.gov
- Use cases where a traditional search index (Elasticsearch, Typesense) delivers better relevance at lower cost
- Corpora that fit the context budget and can be supplied directly with suitable access controls
- Real-time chat where 3-second retrieval latency is too slow
- Projects without a labeled evaluation set for retrieval quality
RAG knowledge systems at Pharos Production at a glance
- RAG systems shipped: 12+ production RAG systems since 2023 (legal, support, healthcare, internal docs, technical support)
- Stack: LangChain, LlamaIndex, Haystack, DSPy, OpenAI/Anthropic/Vertex embeddings, BGE, E5, Pinecone, Weaviate, pgvector, Qdrant
- Retrieval strategies: Dense + sparse hybrid (BM25 + vector), reranking with Cohere/Voyage/BGE rerankers, metadata filtering, permission-aware retrieval
- Eval discipline: Every RAG system ships with a retrieval eval set (NDCG, hit rate) + a generation eval set (citation precision, answer correctness)
- Pricing: RAG MVP $40,000-$110,000; production system $110,000-$280,000+; retainers from $5,000/month for eval refresh
- Timeline: Discovery + eval set 2-3 weeks; MVP 6-10 weeks; production with monitoring 3-5 months
- Deployment: Cloud (OpenAI, Vertex), enterprise cloud (Bedrock with VPC), self-hosted (Llama 3 + BGE) for regulated data
- Honest scope: We recommend search or few-shot for small corpora and decline RAG without an eval set
RAG and fine-tuning: what changes?
RAG supplies source passages at query time. Fine-tuning adjusts model behavior through training. Choose from the task and measured evaluation results; the approaches can be combined.
| Factor | RAG | Fine-tuning |
|---|---|---|
| Knowledge changes | Update ingestion and the index; test propagation to cached answers | New training may change behavior; external knowledge can still be retrieved |
| Source attribution | Track retrieved passages and verify that each citation supports the answer | Training alone does not add verifiable source citations |
| Engineering scope | MVP $40,000-$110,000; production $110,000-$280,000+ planning ranges | Dataset preparation, training, serving and evaluation require a separate estimate |
| Operating costs | Inference, retrieval, reranking, indexing and hosting | Inference capacity, hosting, monitoring and any retraining |
| Data residency | Depends on every connector, store and inference endpoint in the data flow | Depends on the training and serving environments and their contracts |
| Evaluation | Test retrieval, answer support, permissions and abstention | Test the target behavior on held-out tasks and compare with prompting |
Building RAG that survives real use
RAG projects follow Pharos Verified Delivery with RAG-specific gates: discovery defines corpus, query patterns and evaluation set; build includes ingestion pipeline + embedding choice + retrieval strategy + citation tracking; production readiness covers observability on retrieval and generation quality, drift monitoring on embedding model and corpus freshness, rollback; support includes monthly eval refresh and re-embedding on corpus updates.
-
Phase 01 / 04 Paid Discovery
Week 0
2-4 weeks
- Technical validation
- Architecture proposal
- Scope refined estimate
82% on-schedule with discovery
-
Phase 02 / 04 Iterative Build
Week 2-4
2-week sprints
- Working demos every sprint
- CTO review at milestones
- ADRs documented
Transparent progress tracking
-
Phase 03 / 04 Production Readiness
Week 8-24
- Monitoring and alerting
- Security audit Pen test
- Runbooks and rollback
ISO 27001 aligned
-
Phase 04 / 04 Support
Launch day
Ongoing
In progress
- Security patches
- Performance tuning
- 4h SLA response
Continuous improvement
Pharos Verified Delivery applied to 110+ production applications since 2013
RAG systems in real deployment
Three RAG engagements where retrieval quality, citation tracking and deployment model shaped the result more than the LLM choice.
Legal document Q&A
Junior attorneys spent 6-8 hours per case reviewing precedent documents. Inconsistent citations across the team.
RAG system over 50,000 case documents with 3-second response time. Citation precision 94% verified against ground truth. Junior attorney research time cut by 75%.
Built on a private vector store with citation tracking back to source paragraphs. Every answer ships with a verifiable footnote so partners can audit any response in under 30 seconds.
Internal docs copilot
Engineering team of 80 wasted ~4 hours per week per engineer searching internal docs and Slack history. Repetitive questions in #help channels.
RAG copilot over Confluence, Notion and Slack archives. Average search time under 6 seconds. #help channel volume down 52%. New-hire onboarding time cut from 6 weeks to 4.
We scoped retrieval per-team (engineering only sees engineering docs, sales only sees sales) and layered permission-aware retrieval so the same query returns different results for different users. Citations link back to the source in the original tool.
Healthcare knowledge assistant
Clinicians spent 15-25 minutes per complex case cross-referencing clinical guidelines. Documentation burden contributing to burnout.
HIPAA-aligned RAG over clinical guidelines, internal protocols and prior cases (de-identified). Query time under 8 seconds. Clinician self-reported time savings of 45 minutes per shift. Citation precision on flagged answers 96%.
The system runs entirely in the client VPC with a self-hosted embedding model (BGE-large) and a self-hosted Llama 3 for generation. No PHI leaves the infrastructure; citations always link to source paragraphs in the original guideline documents.
Client names anonymized under NDA. Full case studies at /cases/.
When RAG is not the answer
We decline roughly 30% of RFPs we receive. Forcing a bad fit costs both sides 3-6 months and damages outcomes. Here is how we think about scope:
- Search use cases where Elasticsearch or Typesense delivers better relevance at lower cost
- Corpora that fit the context budget without a retrieval pipeline
- Real-time chat where 3-second retrieval latency is too slow
- Projects without an evaluation set tied to retrieval quality
- Use cases where fine-tuning a smaller model would be more accurate AND cheaper
RAG is the right call when you have a large private corpus, need grounded answers with citations and cannot fine-tune for cost or data residency reasons. For small corpora, few-shot prompting is cleaner. For structured search over product catalogs or logs, Elasticsearch dominates on relevance and latency. We have closed engagements with "Typesense + a reranker will ship this in 2 weeks" as the recommendation.
Architecture background reading
State of AI Development Costs 2026 Pharos research on AI project costs with a dedicated section on RAG pipelines, vector stores, embedding models and the trade-offs against fine-tuning. Continue readingPharos RAG portfolio
Pharos RAG delivery portfolio observations, 2023-2026
Ranges we consistently see across 18+ RAG engagements.
-
BM25 plus dense plus metadata filter outperforms pure vector search by 8-22 percentage points on domain-specific queries across 14 corpuses we have shipped.
-
Adding a cross-encoder reranker lifts faithfulness 10-18 percentage points at 40-120ms added latency. Worth the cost for knowledge bases above 5000 documents.
-
Plan 6-10 weeks for a single-corpus MVP or 3-5 months for production deployment with monitoring and access controls, subject to the agreed scope.
-
Re-index cadence: hourly for high-traffic help content, daily for engineering docs, weekly for policy and legal. Lag above 24h on user-facing content drives measurable answer staleness.
-
$1.8k-$9k/month for vector store plus $2k-$15k/month for LLM inference on mid-market corpuses of 10k-150k documents.
Retrieval decisions to test on your corpus
Use the same questions and document snapshot to compare retrieval configurations.
-
Keyword and semantic retrieval
Compare keyword, vector and hybrid search on exact identifiers, terminology and natural-language questions. Choose from the measured relevance and latency on your corpus.
-
Reranking trade-offs
Test whether a reranker improves passage relevance and answer quality enough to justify the added latency and serving cost.
-
Evaluation evidence
Request the versioned query set, document snapshot and failure breakdown. Report retrieval quality separately from answer faithfulness and citation correctness.
Four dimensions for a RAG evaluation plan
These weights illustrate how to organize an evaluation. Set thresholds from your query mix, risk and user workflow; they are not requirements from NIST, OWASP or a market survey.
-
30%
Retrieval quality
Recall@k, MRR, relevant-passage coverage
Use a held-out set of questions and annotated relevant passages. Record corpus version, k, query types and failures. Size the set to cover the workflows being released.
-
30%
Answer faithfulness
Supported claims, citation accuracy, abstention
Check whether each material claim is supported by the cited passage. Include missing answers, conflicting sources and questions outside the corpus. Calibrate automated judgments against human review.
-
20%
Latency and cost
P95 response time, cost per query, concurrency
Measure retrieval, reranking and generation separately under expected load. Include hosting and indexing costs alongside model usage; agree the latency budget for the interface.
-
20%
Freshness and governance
Index lag, permission enforcement, deletion tests
Test document updates, access revocation and deletion through the full retrieval path. Set retention and re-index targets for the data categories and client requirements.
Synthetic control example, not a client result
Worked example: revoke access and delete a source
The downloadable record comes from an in-memory Python simulation. It tests authorization and deletion control flow; it does not measure a production retriever or language model. Use this structure to define acceptance checks for your own connectors, index and answer cache.
- Versioned input
- One synthetic policy document and one user in team-a. Record the document ID, permission source and permission version before retrieval.
- Access revocation
- The authorized query first returns policy-a. After group access is removed, the expected and observed source lists are empty, including when a cache exists.
- Deletion and exception
- After the source is deleted, retrieval again returns no source. The application should abstain instead of quoting an old cached answer. Test stale caches and connector propagation in your actual system.
- Acceptance and handover
- Agree the allowed propagation delay, release-blocking failures and client acceptance owner. Handover includes the authorization source, cache invalidation policy and deletion test results.
Production post-mortem
When permissions leaked via vector index
A customer support RAG system indexed internal engineering docs alongside public help content in December 2025. A prompt-injected support query surfaced internal incident reports to an external user. The vector index had no per-document access control; permissions were enforced only at the document-store level, not at the retrieval layer.
All RAG engagements now require doc-level permission enforcement at both retrieval and synthesis layers. Permission audit added to pre-production checklist. Red-team prompt injection eval now mandatory before go-live.
Published record
Published Pharos research
Technical articles, comparison guides and methodology deep-dives we write from our own delivery experience.
- State of AI Development Costs 2026
- AI Agent Frameworks Comparison 2026
- Build vs Buy AI Agent: 2026 Decision Framework
- RAG vs Fine-Tuning: When to Use Each Approach
- How to Choose an AI Development Company
- State of Smart Contract Audits 2026
- State of Production AI Engineering 2026
- State of FinTech Compliance Cost 2026
- State of Custom Software TCO 2026
- State of AppSec 2026
- State of Tech Due Diligence 2026
- State of QA and Software Testing 2026
- State of DevOps and Cloud 2026
- How to Choose a Blockchain Development Company
- How to Choose a FinTech Development Company
- FinTech Compliance Checklist 2026: PCI DSS, SOC 2, GDPR and Beyond
- AI in FinTech: Transforming Financial Services in 2026
- Software Development Cost Guide: What to Expect in 2026
- How to Choose a Software Development Company in 2026
- Cybersecurity Essentials for Startups and SMBs in 2026
- FinTech Trends 2026: How Top FinTech Trends are Shaping Digital Banking
Platforms we work with
Technology platforms and company references shown for identification. A logo does not establish a commercial partnership or endorsement.
16 references-
Consensys
-
Gate.io
-
Coinbase
-
Ludo
-
Core Scientific
-
Debut Infotech
-
Axoni
-
Alchemy
-
StarkWare
-
MARA Holdings
-
MicroStrategy
-
Nubank
-
OKX
-
Uniswap
-
Riot
-
LeewayHertz
About the founder and CTO
Founder and CTO Pharos Production
I design and build reliable software solutions - from lightweight apps to high-load distributed systems and blockchain platforms.
PhD in Artificial Intelligence, MSc in Computer Science (with honors), MSc in Electronics & Precision Mechanics.
-
13 years in architecture of great software solutions tailored to customer needs for startups and enterprises
-
23 years of practical enterprise customized software production experience
-
Lecturer at the National Kyiv Polytechnic University
-
Doctor of Philosophy in Artificial Intelligence
-
Master's degree in Computer Science, completed with excellence
-
Master's degree in Electronics and precision mechanics engineering
Choose your project scope
Pharos Production scopes engagements in three tiers, Proof of concept, MVP build and Enterprise platform, with typical budgets from $10,000 to $500,000+ depending on scope and complexity.
Proof of concept
Focused validation of your riskiest technical assumption with a working spike and a clear build-or-pivot recommendation.
MVP build
Production-ready first version with core flows, real backend and the integrations to onboard first paying users.
Enterprise platform
Full-scale build with architecture, DevOps, QA, security and long-term evolution.
Prices vary based on project scope, complexity, timeline and requirements. Hourly rates range from $50 to $99 depending on role and seniority. Contact us for a personalized estimate.
Interaction models for staff augmentation, dedicated teams and outsourcing
Request staff augmentation
Need extra hands on your software project? Our developers can jump in at any stage - from architecture to auditing - and integrate seamlessly with your team to fill any technical gaps.
Hire dedicated experts
Whether you're building from scratch or scaling fast, our engineers are ready to step in. You stay in control, and we handle the code.
Outsource your project
From first line to final audit, we handle the entire development process. We will deliver secure, production-ready software, while you can focus on your business.
Technologies, tools and frameworks we use
We select the stack for your product, integrations and operating requirements.
AI and Machine Learning
LLM Providers 8
AI Frameworks 15
Vector Databases 7
MLOps and Infrastructure 11
AI Agent Tools 4
Partnerships and awards
Selected badges from Clutch, GoodFirms and The Manifest. Open the issuer profiles to review categories and dates.
An approach to the development cycle
-
Team Assembly
Our company starts and assembles an entire project specialists with the perfect blend of skills and experience to start the work.
-
MVP
We'll design, build and launch your MVP, ensuring it meets the core requirements of your software solution.
-
Production
We'll create a complete software solution that is custom-made to meet your exact specifications.
-
Continuous Support
Our company will be right there with you, keeping your software solution running smoothly, fixing issues and rolling out updates.
RAG and knowledge systems insights
RAG Knowledge Systems Glossary 7
- Chunking Strategy
- The method used to split source documents into vector-indexed segments - options include fixed character splitting, recursive splitting and semantic chunking, each making different tradeoffs between retrieval precision and context coherence.
- Dense Retrieval
- A search method that converts a query to a high-dimensional embedding vector and finds the nearest stored document vectors by cosine or dot-product similarity, capturing semantic meaning rather than keyword overlap.
- Reciprocal Rank Fusion (RRF)
- A score-merging algorithm that combines ranked result lists from dense and sparse retrievers by summing inverse-rank values, producing a single fused list without requiring score normalization.
- Re-ranking
- A second-stage retrieval step where a cross-encoder model re-scores the top-k candidates from the initial retrieval pass by jointly encoding the query and each passage, improving precision before the answer synthesis step.
- pgvector
- A PostgreSQL extension that adds a native VECTOR column type and approximate nearest-neighbor index (IVFFlat or HNSW), enabling vector similarity search inside an existing relational database without a separate vector store.
- RAGAS
- An open-source evaluation framework for RAG pipelines that measures context relevance, answer faithfulness and answer completeness using an LLM-as-judge approach on a curated golden-question dataset.
- Metadata Filtering
- The practice of attaching structured attributes (tenant ID, document type, date range) to each vector at ingest time so that retrieval queries can restrict the search space before computing similarity, enabling multi-tenant access control.
Frequently asked questions about RAG Knowledge Systems
Type to filter questions and answers. Use Topic to narrow the list.
Showing all 12
No matches
Try a different keyword, change the topic or clear filters
-
When should we use RAG vs fine-tuning?
Consider RAG when answers need current source documents and verifiable attribution. Consider fine-tuning when prompting does not meet a defined task, style or output-format requirement and suitable training data is available.
Document count alone does not decide the architecture. Compare each option on a held-out evaluation set; use both only when the measured benefit supports the added operating scope.
-
Which vector store should we use?
For small-to-medium corpora (under 10M vectors) and if you already use PostgreSQL: pgvector - simplest operations, no new infrastructure. For large-scale: Pinecone (managed, fastest to ship) or Qdrant (self-hosted, strongest for regulated data). Weaviate for native hybrid search out of the box. We avoid "custom vector database" engagements - the differentiator is rarely the store itself, it is the ingestion pipeline and retrieval strategy.
-
How do you handle citations?
Every retrieved chunk carries metadata (source document ID, page/paragraph, title, timestamp) that flows through to the LLM prompt. The LLM is instructed via system prompt to cite the source ID for each claim.
A post-processing layer extracts the citations and verifies they point to real chunks. The final answer renders with footnotes that link to the source paragraph in the original document. Citation precision is tracked as a production metric on every deploy.
-
How do you measure RAG quality?
RAG quality is measured with a two-layer evaluation: retrieval (NDCG, hit rate @k, MRR on a labeled test set of question → relevant-chunk pairs) and generation (answer correctness, citation precision, faithfulness to retrieved context). We build the eval set from real production questions (once we have them) or from domain expert annotations. Retrieval eval catches ingestion and embedding regressions; generation eval catches prompt drift and model updates. The harness runs on RAGAS or a custom judge-LLM pipeline, with regression tests on every pipeline change so accuracy does not degrade as the corpus grows.
-
How do you handle updates to the corpus?
Incremental re-embedding: new or updated documents are detected via change-data-capture (webhook or timestamp polling), re-chunked, re-embedded and upserted into the vector store. For corpora with complex permissions (Confluence, SharePoint, Google Drive), we sync permissions on every retrieval so users only see chunks they have access to.
Full re-embedding is only needed when the embedding model changes.
-
Can you build HIPAA/PCI-aligned RAG?
We scope hosting, access controls, redaction and logging around the data and applicable obligations. For HIPAA-covered PHI processing, establish the covered-entity and business-associate roles and a BAA where required.
A BAA is a contract, not an auditor-issued attestation. SOC 2 assurance is separate. For payment data, define the PCI DSS boundary before ingestion; tokenization alone does not establish compliance. Private hosting still requires controls and verification.
-
How much does RAG cost?
Planning ranges are $40,000-$110,000 for a RAG MVP and $110,000-$280,000+ for a production system. Scope discovery separately: source connectors, document permissions, evaluation data and deployment requirements affect the estimate.
Operating costs include inference, embeddings, retrieval, reranking, hosting and support. Self-hosted models incur infrastructure and operations costs. Measure cost per query on the expected workload before committing to a budget.
-
What is a RAG knowledge system and when does a business need one?
RAG (Retrieval-Augmented Generation) is a production architecture that retrieves relevant passages from your private documents or databases before an LLM generates an answer, grounding responses in current proprietary data. Businesses need it when a general-purpose LLM lacks access to internal knowledge bases, product catalogs, compliance manuals or real-time records.
-
What is hybrid retrieval and why does it matter?
Hybrid retrieval combines dense vector similarity search with sparse BM25 keyword search, then merges the ranked result lists using reciprocal rank fusion (RRF). This prevents the common failure where a dense-only system misses an exact product code or proper noun that does not embed well in the vector space.
-
How long does it take to build and deploy a production RAG system?
A single-corpus RAG MVP with a REST query API, admin ingestion endpoint and basic evaluation harness typically ships in 6-10 weeks. Production deployment with monitoring, multi-tenant document access and streaming answers takes 3-5 months depending on data source complexity and required latency targets.
-
Can Pharos upgrade an existing RAG prototype to production grade?
Yes. We audit the existing chunking strategy, embedding model, retrieval recall@k and latency profile, then issue a gap report. Common fixes include replacing naive fixed-size chunking with semantic chunking, adding re-ranking with a cross-encoder, moving from Chroma in-memory to a hosted vector store and wiring up an evaluation pipeline the prototype was missing.
-
When does Pharos decline a RAG project?
We recommend a simpler approach when search or direct context meets the workflow requirements. Corpus size alone is not a decision rule.
Compare retrieval quality, latency, permissions and operating cost on the intended workload. A RAG build also needs representative evaluation questions and an owner for source quality.
Inputs for a RAG scope review
Bring representative documents, user questions, source permissions and freshness requirements. We can then compare search and RAG, define an evaluation set and estimate the ingestion, retrieval and operating scope.
Discuss your knowledge-system scope
Your business results matter
Achieve them with minimized risk through our bespoke innovation capabilities
What happens next?
-
Contact us
Contact us today to discuss your project. We're ready to review your request promptly and guide you on the best next steps for collaboration
Same day -
NDA
We're committed to keeping your information confidential, so we'll sign a Non-Disclosure Agreement
1 day -
Plan the Goals
After we chat about your goals and needs, we'll craft a comprehensive proposal detailing the project scope, team, timeline and budget
3-5 days -
Finalize the Details
Let's connect on Google Meet to go through the proposal and confirm all the details together!
1-2 days -
Sign the Contract
As soon as the contract is signed, our dedicated team will jump into action on your project!
Same day




