---
title: "Generative AI applications built like real products"
url: https://soliditylabs.tech/services/ai-development/generative-ai-development/
description: "Solidity Labs builds custom generative AI applications: domain assistants, RAG, content and document generation, with evaluation sets and cost control."
source: Solidity Labs (https://soliditylabs.tech)
---

AI Development · Generative AI

# Generative AI applications built like _real products_

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.

[Get a quote](/contact/get-a-quote/) [Book a free call](/contact/book-consultation/)

Free discovery callNDA on requestFixed proposal after scoping

1.  **Sources**PDFs · wiki · tickets
2.  **Parse & chunk**structure-aware
3.  **Embed**\+ metadata & ACLs
4.  **Hybrid index**vector + keyword
5.  **Question**with user identity
6.  **Retrieve**filtered by permission
7.  **Rerank**top passages
8.  **Language model**grounded prompt
9.  **Evaluation set & tracing**faithfulness · recall · cost
10.  **Cited answer**or “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](/services/ai-development/rag-ai-system-development/)), 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](/services/ai-development/generative-ai-integration/).

Problems we solve

## Why GenAI prototypes disappoint in production

1.  ### 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.
    
2.  ### Hallucinated facts
    
    Generation without grounding invents details. Retrieval, citations and output validation reduce it; review catches the rest.
    
3.  ### 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.
    
4.  ### 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.
    
5.  ### 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](/services/ai-development/rag-ai-system-development/).

### 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.

1.  **User request**with identity
2.  **Input checks**policy · injection
3.  **Retrieval**your data, filtered
4.  **Model gateway**model chosen per task
5.  **Evaluation harness**runs on every change
6.  **Cost & latency**limits per feature
7.  **Structured output**validated against a schema
8.  **Output checks**facts · tone · PII
9.  **Answer or draft**with 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

1.  ### Define the output
    
    We agree what a good answer or draft looks like, with examples, before choosing a model.
    
    Free call
    
2.  ### Build the evaluation set
    
    Real inputs with expected outputs or scoring rubrics, signed off by your domain experts.
    
    Eval set
    
3.  ### Prototype and compare models
    
    Two or three models tested against the set for quality, cost and latency.
    
    Model report
    
4.  ### Build the product
    
    Demos of the real app at a cadence agreed in the proposal, with the evaluation score tracked over time.
    
    Regular demos
    
5.  ### 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.

### Every engagement includes

-   Source code & IP transfer
-   Documentation
-   Handover session
-   Post-launch support as agreed
-   Demos at an agreed cadence

**We give a fixed proposal after a free discovery call and a written scope of work.** [Prepare a brief with the Project Planner](/resources/project-planner/)

Comparison

## Prompting, RAG or fine-tuning?

Most applications need good prompting plus retrieval. Fine-tuning is for specific gaps.

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

Citations

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

When not to use this

-   **The answer must be exactly right every time and can’t be reviewed.** Generation is probabilistic; use deterministic software for those steps.
-   **A search box would do.** If users only need to find a document, good search is cheaper than generation.
-   **The data can’t be shared with any model provider** and self-hosting isn’t an option. Then the project is blocked until that changes.
-   **You only need an AI feature inside one existing tool.** A focused [integration](/services/ai-development/generative-ai-integration/) is a smaller project than a new application.

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](/contact/) — 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](/services/ai-development/generative-ai-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.

Keep exploring

## Related services and reading

-   [RAG & Enterprise SearchCited answers from your own documents](/services/ai-development/rag-ai-system-development/)
-   [Generative AI IntegrationFrontier models wired into your existing systems](/services/ai-development/generative-ai-integration/)
-   [AI Agent DevelopmentAgents that own one job end to end](/services/ai-development/ai-agent-development/)

### From the blog

![](/assets/img/r/rag-vs-fine-tuning-480.png)

AI & Machine Learning

### [RAG vs Fine-Tuning: How to Choose](/blog/rag-vs-fine-tuning/)

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.

Solidity Labs · October 16, 2026 · 7 min read

![](/assets/img/r/ai-agent-vs-chatbot-vs-automation-480.png)

AI & Machine Learning

### [AI Agent vs Chatbot vs Automation: Which One Do You Need?](/blog/ai-agent-vs-chatbot-vs-automation/)

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.

Solidity Labs · October 16, 2026 · 6 min read

![](/assets/img/r/securing-ai-agents-480.png)

AI & Machine Learning

### [Securing AI Agents: Prompt Injection, Data Leakage and Guardrails](/blog/securing-ai-agents/)

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 · October 16, 2026 · 7 min read

Last reviewed: November 2026 Reviewed by our independent expert review under our [editorial policy](/editorial-policy/)
