New products built on large language models: domain assistants, retrieval systems and document generation. The model is a replaceable part, quality is measured on your own test set, and every request has a tracked cost.
Free discovery callNDA on requestFixed proposal after scoping
SourcesPDFs · wiki · tickets
Parse & chunkstructure-aware
Embed+ metadata & ACLs
Hybrid indexvector + keyword
Questionwith user identity
Retrievefiltered by permission
Reranktop passages
Language modelgrounded prompt
Evaluation set & tracingfaithfulness · recall · cost
Cited answeror “I don’t know”
Fig. 1 — Documents are parsed, chunked and indexed ahead of time. At question time, retrieval is filtered by the asker's permissions, reranked, and the model answers with citations.
In short
Generative AI development is building applications that use large language models (and image or speech models) to produce text, summaries, structured data or media. Solidity Labs builds custom GenAI apps with retrieval over your data, model selection across OpenAI, Anthropic, Google and open-weight models, evaluation sets, guardrails and cost controls, delivered as a maintainable product rather than a prompt.
Definition
What counts as a generative AI application?
Not every AI feature is generative. Forecasting churn is predictive ML; extracting a total from an invoice may need only OCR and rules. We use generation where it adds value.
A generative AI application uses a model to produce something new from an input: an answer from a set of documents, a draft from a template and some facts, a structured record from an unstructured email, an image variation from a product photo, a transcript and summary from a call.
The model call is one line of code. The application is everything that makes that line reliable: preparing the right context (usually through retrieval), constraining the output (schemas, templates, refusals), checking it (validators, evaluation sets, human review), and running it at a known cost and latency. We also design for change. Providers publish retirement dates for older model versions, and requests to a retired model fail, so the application must treat the model as a replaceable component.
This page is about building a new application or product around generative AI. If you want an AI feature inside software you already run, such as a CRM, helpdesk or your own app, see Generative AI Integration.
Problems we solve
Why GenAI prototypes disappoint in production
Quality nobody can measure
Without a labeled evaluation set, “it seems better” is the only signal. We build the set before the app, and keep part of it aside so prompts are never tuned on the cases that judge them.
Hallucinated facts
Generation without grounding invents details. Retrieval, citations and output validation reduce it; review catches the rest.
Runaway costs
Large contexts and premium models on every call break unit economics as usage grows. We set a cost limit per feature and send each task to the smallest model that passes the set.
Upgrades that change answers quietly
Pointing at a moving model alias, or switching versions without re-running the evaluation set, changes behavior with no code change. We pin model versions and run the set before every upgrade.
Lock-in to one provider
Code written against one vendor’s quirks is painful to move. A thin model gateway keeps options open.
What we build
What we build
Domain assistants
Assistants that answer questions about your products, policies or data with citations, inside your app or tools.
RAG pipelines
Ingestion, chunking, embeddings, hybrid search and reranking, with access control. See RAG & Enterprise Search.
Structured generation
Model output constrained to JSON schemas for records, reports and forms, validated before use.
Drafting tools
First drafts of proposals, reports, product descriptions or replies from templates and facts, with tracked edits.
Speech and image features
Transcription, summarization of calls and meetings, image tagging and generation where licensing allows.
Model gateway
One interface to several providers with routing, fallbacks, caching, cost tracking and version pinning.
Evaluation harness
Automated scoring of faithfulness, correctness and format on every change, plus human review sampling.
Use cases
Generative AI use cases
Proposal and report drafting
Assemble first drafts from CRM data, templates and past documents for people to finish.
Product content at scale
Descriptions, attributes and translations for large catalogs, checked against brand rules.
Meeting and call intelligence
Transcribe, summarize and extract action items into the CRM or project tool.
Policy and knowledge assistants
Answer questions from manuals and policies with citations.
Data extraction from text
Turn emails, tickets and notes into structured fields for reporting.
Developer productivity tools
Internal assistants over codebases and runbooks, with repository permissions respected.
How it works
How a production GenAI app is structured
Context goes in through retrieval, output comes out through validation, and every request is measured.
User requestwith identity
Input checkspolicy · injection
Retrievalyour data, filtered
Model gatewaymodel chosen per task
Evaluation harnessruns on every change
Cost & latencylimits per feature
Structured outputvalidated against a schema
Output checksfacts · tone · PII
Answer or draftwith sources
Fig. 2 — A request passes input checks, retrieval over your data and a model gateway; the output is validated against a schema and checked again before anyone sees it. An evaluation harness runs on every change, and cost and latency are tracked per feature.
Context
Retrieval over your data with permissions; prompts assembled from versioned templates.
Model gateway
Routes requests to the right model, with fallbacks across providers and response caching.
Output control
JSON schemas, validators and refusal rules applied before anything reaches a user or system.
Review
Human approval for drafts that leave the company; sampling for everything else.
Measurement
Evaluation scores, latency, cost per request and user feedback on one dashboard.
Process
How we run it
01
Define the output
We agree what a good answer or draft looks like, with examples, before choosing a model.
Free call
02
Build the evaluation set
Real inputs with expected outputs or scoring rubrics, signed off by your domain experts.
Eval set
03
Prototype and compare models
Two or three models tested against the set for quality, cost and latency.
Model report
04
Build the product
Demos of the real app at a cadence agreed in the proposal, with the evaluation score tracked over time.
Regular demos
05
Launch with monitoring
Dashboards for quality and cost, runbooks for provider changes, then handover.
Handover
Technology
Tools we use for this
Models
OpenAI
Anthropic Claude
Google Gemini
Mistral
Meta open-weight models
Frameworks
LangChain
LangGraph
LlamaIndex
Pydantic
Retrieval
pgvector
Qdrant
Weaviate
Elasticsearch
Evaluation
Langfuse
promptfoo
Ragas
Application
Python
TypeScript
Next.js
PostgreSQL
Scope drivers
What shapes scope
We don’t publish prices or week counts, because they depend on scope. These are the factors that actually move them.
01
Output complexity
Short answers are simpler than long, structured documents that must follow strict formats.
02
Data sources
The number and messiness of sources to ingest, and whether permissions must be respected.
03
Quality bar
Higher accuracy targets need larger evaluation sets, more iteration and often human review.
04
Modalities
Adding speech, images or video adds models, storage and testing.
05
Scale and unit economics
High volume rewards routing, caching and smaller models, which take design effort up front.
06
Hosting constraints
Managed APIs are fastest to ship; regional or self-hosted models add infrastructure work.
Most applications need good prompting plus retrieval. Fine-tuning is for specific gaps.
Criterion
Prompting
RAG
Fine-tuning
Adds your knowledge
Only what fits in the prompt
✓ from your documents
Partially, and it goes stale
Changes style or format
Somewhat
✕No
✓Yes
Citations
✕No
✓Yes
✕No
Keeps up with new data
Manual
✓ re-index
Retrain
Effort to start
Lowest
Moderate
Highest
Full guide: RAG vs fine-tuning.
Honest guidance
When not to choose this
Scope boundary
What we engineer, and what others provide
We engineer
Application, retrieval, prompts and output validation
Model gateway, evaluation harness and dashboards
Documentation and handover
You provide
Domain experts to define good output and label examples
Access to data sources
Final review policy for generated content
Licensed partners & providers
Model providers under their own data and usage policies
Rights holders for any third-party content used
Security & quality
How we keep it safe and correct
Prompt-injection tests on every data source the model reads
Permission-filtered retrieval; no cross-user context mixing
PII redaction before logging; configurable retention
Provider plans and settings checked so your data is not used for model training (defaults differ by provider and tier)
Output validation before writes to any system
Engineering example
Permission-aware knowledge assistant
The same question answered for three roles: retrieval filters what each one may see, cites its sources, and escalates when it can’t answer.
Illustrative engineering example: synthetic data, not a client project. Verified case studies will appear here when consented ones exist.
FAQ
Questions buyers ask us
Not covered here? Ask us directly — a person reads every message.
How much does generative AI development cost?
It depends on output complexity, data sources, the quality bar, modalities and scale. We don’t publish prices. After a free discovery call and a written scope, we send a fixed proposal, with milestone-based payments agreed in the proposal.
Do we need generative AI development or integration?
Development, when the AI is the product or a new application of its own. Integration, when you want an AI feature inside software your team already uses. Many projects start as an integration and become a product once the feature proves itself.
Which model should we use?
The one that passes your evaluation set at acceptable cost and latency. We compare models from OpenAI, Anthropic, Google and open-weight families on your real inputs. Many applications end up using more than one: a small model for routing or extraction, a larger one for the hard answers.
How do you decide the app is ready to launch?
Before launch we check that the evaluation score meets the agreed threshold on held-out cases, that answers cite sources that actually support them, that prompt-injection tests pass for every data source, that cost per request and latency stay within the agreed limits at expected volume, and that the app still works with the primary provider switched off.
How do you reduce hallucinations?
By grounding answers in retrieved sources, requiring citations, constraining output to schemas, validating results and routing uncertain cases to review. We measure faithfulness in the evaluation set so improvements are visible.
Can we switch AI providers later?
Yes. The model gateway abstracts providers, prompts are versioned, and the evaluation set tells you whether a new model is as good before you switch.
Should we fine-tune a model?
Usually not first. Prompting plus retrieval covers most needs. Fine-tuning helps for strict formats, specialized style or narrow skills.
How do you control running costs?
Routing simple requests to smaller models, caching repeated work, trimming context and tracking cost per request on a dashboard, with alerts when it drifts.
Who owns prompts and evaluation data?
You do. Source code, prompts, evaluation sets and configuration transfer to you on final payment. We recommend that model-provider accounts and API keys are in your name from the start, so nothing has to move at handover.
Retrieval-augmented generation gives a model your facts at answer time; fine-tuning changes how the model behaves. Most business problems need RAG first, some need fine-tuning, and a few need both. Here is how to tell which.
Chatbots answer, automations follow fixed steps, and agents decide their own steps. Picking the wrong one wastes money or adds risk. Here is a decision guide with examples, trade-offs and the questions to ask.
An AI agent reads untrusted text and can take actions, so a malicious email or web page can try to steer it. Here are the main risks, prompt injection, data leakage and excessive agency, and the controls that actually reduce them.
Solidity Labs · · 7 min read
Last reviewed: Reviewed by our independent expert review under our editorial policy