← All IntelIntel / article
Practical Text To Sql For Data Analytics
- Source
- linkedin.com
- Author
- LinkedIn Engineering
- Date
Context
Turning a workplace question into a database query requires knowing which data the employee means. LinkedIn's engineering account explains how its internal SQL Bot combines curated table descriptions with a user's business to find relevant datasets before writing SQL. It then checks that referenced tables and fields exist and uses the database's EXPLAIN command to detect syntax and other errors. Those checks catch problems that query generation alone can miss. LinkedIn separately evaluates whether queries answer the intended question, because valid syntax and real table names do not establish the correct business meaning.
Terms in this piece · Glossary
- context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
- multi-agent — Using several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.
- embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
Read the source www.linkedin.com
More from LinkedIn Engineering
Recommended reads
articleBehind The Platform The Journey To Create The Linkedin Genai Application Tech StackLinkedIn Engineering- articleBuilding The Next Generation Of Job Search At LinkedinLinkedIn Engineering
- articleSemantic Search For Ai Agents At Scale Retrieval And Ranking For Linkedins Hiring AssistantLinkedIn Engineering
Comments
Checking sign-in…
Loading comments…
