How CBRE powers unified property management search and digital assistant using Amazon Bedrock

Lokesha Thimmegowda, Muppirala Venkata Krishna Kumar, Maraka Vishwadev, Chanpreet Singh, Sachin Khanna, Dwaragha Sivalingam26 Nov 2025

Problem

Property managers at CBRE worked with data spread over 10 sources and four databases, plus millions of documents such as leases and inspection reports. To find maintenance details they switched between systems and read long documents by hand. They are domain experts, not SQL users, and needed one place for plain-language questions that also respects who may see which schema and building.

Example from the article: a query such as "Find lease agreements mentioning early termination for tech companies from last year" must become a structured search over document type, date and property metadata.

Solution in brief

CBRE put an orchestrator in front of two pipelines: SQL Interact (an LLM writes SQL from retrieved schema metadata) and Doc Interact (an LLM writes OpenSearch queries, and KNN vector search covers content). User entitlements are cached in Redis and applied to every query. Dynamic few-shot examples, KNN schema-field selection and modular prompts keep SQL generation fast and consistent.

Questions this case answers
  • How to answer natural-language questions over both structured tables and unstructured documents while enforcing per-user access rights
  • How to keep text-to-SQL accurate and fast when the schema is large and the relevant tables depend on the question
  • How to let non-technical staff query several relational databases and millions of documents from one search box?
  • How to make LLM-generated SQL faster and more consistent on a large schema?

Tools and methods

  • Amazon Bedrock (Nova Pro, Claude Haiku, Titan embeddings) — SQL generation, document queries and chat, embeddings
  • OpenSearch — vector store for documents and for database schema metadata
  • Redis (ElastiCache) — cached user entitlements and building lists
  • PostgreSQL and MS SQL Server — the structured data the generated SQL runs on
  • Amazon DynamoDB — conversation history
  • Dynamic few-shot prompting and KNN schema selection — shrink the prompt, raise SQL accuracy
  • LLM relevancy scoring — reorder schemas after KNN retrieval
Continue reading — it's free

Google or a one-time email code. No password.