LLM Production Case Studies: Consulting Database Search, Automotive Showroom Assistant, and Banking Development Tools

globant · Consulting · 2023 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production LLM consulting delivery

Globant's production LLM projects repeatedly hit failures caused by ill-defined retrieval semantics, non-canonical source data, hallucinating platform services, vague success criteria, and premature technology commitments.

Constraints:

Architecture

Globant describes a set of practical workarounds across five LLM projects: text-to-SQL plus LLM-generated keyword filters and row-level LLM reranking for a financial database; a multi-layer automotive RAG workaround that ignores hallucinated provider summaries and regenerates safer metadata; hybrid vector and SQL retrieval for internal knowledge access; LLM middleware for an underdefined banking copilot POC; and a GenAI accelerator platform where technology adoption had to be disciplined by use-case fit rather than benchmarks.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  SQL["Financial text-to-SQL layer"] --> Keywords["LLM keyword mapper"]
  Keywords --> Rerank["LLM row filter and reranker"]
  FileSearch["Automotive file search"] --> Clean["Clean-summary LLM"]
  Clean --> Eval["Stage-by-stage evaluator"]
  Hybrid["Knowledge assistant hybrid retrieval"] --> Eval
  Bank["Bank copilot middleware"] --> Eval
  Accelerator["GenAI accelerator platform"] --> Eval
  Rerank --> Eval
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Financial text-to-SQL layer Handles structured analytics queries against the client's unmodifiable SQL database. LLM keyword mapper, LLM row filter and reranker
LLM keyword mapper Generates relevant SQL LIKE keywords for free-text fields where vector similarity was too imprecise. Financial text-to-SQL layer, LLM row filter and reranker
LLM row filter and reranker Filters and reranks database rows after retrieval while staying lean enough for response-time expectations. Financial text-to-SQL layer, LLM keyword mapper, Stage-by-stage evaluator
Automotive file search Required cloud retrieval service whose generated summaries introduced hallucinated metadata. Clean-summary LLM
Clean-summary LLM Regenerates summaries from retrieved documents with aggressive anti-hallucination prompting. Automotive file search, Stage-by-stage evaluator
Knowledge assistant hybrid retrieval Uses embeddings for structured reports and SQL-style pre-structured recovery for image-heavy success cases. Stage-by-stage evaluator
Bank copilot middleware Uses LLMs to create metadata and supplementary information around a poorly defined GPT-3.5/fine-tuning POC. Stage-by-stage evaluator
GenAI accelerator platform Connects sources for faster GenAI app experimentation while exposing roadmap and benchmark-chasing risks. Stage-by-stage evaluator
Stage-by-stage evaluator Measures retrieval relevance, ranking, generation factuality, tone, instruction following, and input filtering as separate failure points. Clean-summary LLM, Knowledge assistant hybrid retrieval, Bank copilot middleware, GenAI accelerator platform

Data flow

Across the cases, raw user questions first meet use-case-specific retrieval or structuring: SQL queries and LLM keyword generation for financial data, provider file search followed by LLM-created clean summaries for automotive documents, embeddings for structured reports and SQL recovery for success cases, and LLM middleware for code-assistant gaps. Each flow then needs independent measurement of retrieval, ranking, generation, factuality, tone, and instruction following rather than a single end-to-end score.

5 supporting quotes
“the concept of today is to go through five of these cases where we had some issues of different kinds why we had those issues what is the turnaround and what is a lesson”transcript, stated
“first of all one part of of the of the development is on using this text to SQL uh to understand information required as analytics from the database”transcript, stated
“we use an llm to generate what are the possible keywords between our uh data mapping that we have in the database that should be related to that”transcript, stated
“we got a search or a retrieval or whatever we ignore the summary we take the the document we use the llm to create a summary”transcript, stated
“it was better to pre-structure the documents that trying to rely on just the vector search”transcript, stated

Why this architecture

The recurring architecture lesson is to avoid defaulting to embeddings-plus-vector search. Globant matched retrieval and data-shaping techniques to each case: SQL remained necessary where structured data and determinism mattered, graph-like relationships would have better captured belonging/hierarchy, LLM metadata generation compensated for unmodifiable sources, and stage-by-stage evaluation isolated where failures actually occurred.

4 supporting quotes
“similarity is ill defined it's it's a problematic term so for instance they might be searching for an old company and they might get an energy company back”transcript, stated
“it would have been better to rely on a graph rather than on Vector databases have concepts of belonging of different domains of different Industries”transcript, stated
“not everything is just embedding plus a vector database the use case case matters a lot”transcript, stated
“measuring at every stage is critical to assign blame or constraints”transcript, stated

Models used: LLMs · GPT-3.5 · legacy pre-GPT-4 model

Scale

Alternatives considered (roads not taken)

Pure vector similarity for financial search

Rejected because: Similarity did not capture business notions like belonging, dependency, or hierarchy, and spurious retrieval had very low tolerance.

“given that the whole setup was to use this Vector similarity to search for the companies you're getting uh stuck there”transcript, stated
“the company in terms of the culture has an extremely low tolerance on spous retrieval”transcript, stated

Trust cloud-provider file-search summaries

Rejected because: The provider summaries introduced hallucinated content, including removed price information.

“the internal cloud services were the source of hallucinations which drove us nuts because we have a file search capability”transcript, stated
“we osly removed the price information for every Source document but when we search the documents they got a price”transcript, stated

Embeddings plus vector database for every document type

Rejected because: Structured technical reports worked with embeddings, but success cases performed better after pre-structuring into SQL-style recovery.

“using the typical structure of retrievers plus embedding plus Vector B works well for some of those reports”transcript, stated
“for most of them or the other ones the the success cases of the past experiences we were more leaning towards using a structure recovery with a SQL database”transcript, stated

Accept client buzzword requirements without pushback

Rejected because: The bank POC lacked outcome definitions and fine-tuning understanding, creating reputational risk.

“nobody knew exactly what was a good outcome for the PC and there was an expectation that productivity will improve but we didn't know what we're measuring”transcript, stated
“the reputational risk sometimes is not worth the relational risk so do antagonize with a client if needed do say no”transcript, stated

Patterns

hybrid-search (retrieval)

Globant combines SQL/text-to-SQL, keyword LIKE filters, embeddings, and vector retrieval depending on source type and business semantics.

“first of all one part of of the of the development is on using this text to SQL uh to understand information required as analytics from the database”transcript, stated
“using the typical structure of retrievers plus embedding plus Vector B works well for some of those reports”transcript, stated

retrieval-ranking (retrieval)

LLMs filter and rerank retrieved rows/documents when the first-stage retrieval mechanism cannot fully express relevance.

“finally once I get the results I will have to go a little bit row by row with an llm to filter and rerank”transcript, stated
“we're using that to uh detect filter and rank which are the documents or the chunks or the sources of the parts that are relevant”transcript, stated

eval-driven-development (evaluation)

The talk argues for measuring retrieval, ranking, generation factuality, tone, instruction following, and input filtering separately so failures are assignable.

“measuring at every stage is critical to assign blame or constraints”transcript, stated
“is the documents relevant is a ranking okay is a generation okay is it factual is it useful does it follow the tone does it follow the instructions”transcript, stated

data-quality-loop (data)

The cases repeatedly show that canonical documents, metadata, structured sources, and data access determine whether the LLM system works.

“most type of retrieval elemented Generations require creating or modifying the data sources because you need an extra layer for metadata for the representations”transcript, stated
“if you don't have a good access to the data sources and the files and the process and the use case and how you're feeding new information into the process everything else will fail”transcript, stated

human-in-the-loop-gate (governance)

Globant frames client challenge, validation-point setting, and evidence-based pushback as necessary gates before accepting flawed technical commitments.

“sometimes it's better to challenge the project and establish suitable validation points along the way rather than back fixing Force commitments”transcript, stated
“sometimes you need to antagonize a little bit with with a client over non-committing to e canonical data source”transcript, stated

Tradeoffs

Use SQL and LLM keyword generation where vector similarity was too loose

Chose text-to-SQL plus LIKE keywords and LLM reranking over pure vector database similarity.

Rationale: The client's data constraints blocked metadata stores, and business relevance required deterministic structured filtering plus lean post-processing.

“we couldn't create supplementary databases because the data contained with that database was considered so proprietary so valuable”transcript, stated
“while I'm going to be using a aw with a like format in the in the query I'm still using the keywords that might be relevant”transcript, stated

Layer LLMs around flawed platform services

Chose LLM-generated clean summaries and metadata on the fly over trusting the provider's file-search summaries.

Rationale: The required provider component was injecting hallucinated summaries, so Globant used LLMs to sanitize and rank source content while still satisfying platform constraints.

“we are creating uh metadata on the Fly for uh this these documents so in a sense we are using some of the cloud components and then we're saying yeah but I don't care”transcript, stated

Risk relationship friction to avoid unrecoverable delivery risk

Chose challenge assumptions and say no when needed over accepting vague POC commitments for relationship comfort.

Rationale: The talk argues that agreeing to flawed requirements creates worse reputational risk than early conflict.

“the reputational risk sometimes is not worth the relational risk so do antagonize with a client if needed do say no”transcript, stated
“saying yes and then being stuck in the situation might be worse”transcript, stated

Gotchas (what bit them)

Vector similarity can fail when business users mean belonging or hierarchy, not semantic closeness.

Root cause: The financial-search project treated similarity as the organizing concept even though user expectations depended on industry/domain relationships.

Resolution: Use text-to-SQL, LLM-generated keywords, and row-level filtering/reranking; consider graph structures when belonging/hierarchy matter.

“similarity is ill defined it's it's a problematic term”transcript, stated
“there are several definitions that look similar and they are not like similarity belonging dependency hierarchical stru structure”transcript, stated

Retrieval infrastructure can hallucinate before generation even starts.

Root cause: The cloud file-search service generated summaries with an internal LLM and introduced removed price information.

Resolution: Ignore provider summaries, regenerate clean summaries from source documents, and measure each RAG stage independently.

“detecting that the hallucination was happening at the retrieval state and not that the generation stage took us quite a while”transcript, stated
“we ignore the summary we take the the document we use the llm to create a summary”transcript, stated

Non-canonical source documents turn correct answers into stakeholder disputes.

Root cause: Different country documents described the same automotive products inconsistently, and stakeholders sometimes disagreed with their own source docs.

Resolution: Use measured evidence showing the model matched the provided document and require the client to fix canonical data.

“the source of Truth the the documents that we are supposed to be learning from are not canonical”transcript, stated
“I'm using your document and the response is the same as is in your document not my problem you I mean it is a problem but it's like we need to work together to solve it”transcript, stated

Buzzword-driven fine-tuning POCs can lack measurable success criteria.

Root cause: The bank knew it wanted fine-tuning and productivity improvement but had not defined outcomes or measurement.

Resolution: Push back early rather than accepting commitments that cannot be validated.

“the client was aware of keywords like fine-tuning but completely unaware of what they implied or what was the supposed benefit of that”transcript, stated
“nobody knew exactly what was a good outcome for the PC and there was an expectation that productivity will improve but we didn't know what we're measuring”transcript, stated

Evaluation

Globant's core evaluation recommendation is stage-by-stage measurement: retrieval relevance, ranking quality, generation factuality, tone, instruction following, input filtering, and use-case-specific effectiveness should be evaluated separately.

Metrics: document relevance · ranking quality · generation factuality · usefulness · tone compliance · instruction following · input filtering · response time

3 supporting quotes
“measuring at every stage is critical to assign blame or constraints”transcript, stated
“we treat we treat the the rack system as a whole thing like one unique thing and do not think about well is the documents relevant is a ranking okay”transcript, stated
“the effectiveness needs to be measurable but what does it mean to be effective at helping someone understand the market that's kind of hand wavy”transcript, stated

Outcomes

The presentation draws on Globant's claimed 10+ years and 400+ AI projects, but the individual cases are anonymized and do not provide production volume metrics.

3 supporting quotes
“not everything is just embedding plus a vector database the use case case matters a lot”transcript, stated
“evaluation matters I mentioned that and in most of these cases the engineering work is actually the hard part”transcript, stated
“do not follow the benchmarks lessly because you will get into tight corners”transcript, stated