A Palantir patent covers a method for a large language model to draft data pipelines from a plain-language request. US patent 12,688,197 was granted to Palantir Technologies Inc. on July 21, 2026, according to the USPTO record.
It was filed as application 18827034 on September 6, 2024. It was first published as US20250094439A1 on March 20, 2025. The inventors are Morten Telling, Alexander Bailey, Richard Burdish, Ankit Shankar, Matthew Hawes, Codrut Lemeni, Nanwei Cai, Tiffany Wang, Joseph Rafidi and Kamran Khan.
The patent's description sets out the problem. It says pipelines have historically been built in conventional languages with complex nesting and strict grammar. It says these features reduce or prevent the pipelines' use with LLMs, especially with highly nested syntax such as JSON.
The description adds that such prompts can need far more tokens than natural language prompts. It says they often even exceed the maximum a model accepts. It also says these prompts are more prone to error, and that LLMs may hallucinate.
The first independent claim protects a computer-implemented method. A user selects several data sets and enters a natural-language query in a user interface. The pipeline is meant for a typed language, where a transformation is described with typed expressions or typed variables.
The system then builds a prompt that includes at least:
- the query
- indications of the selected data sets
- the format of a second computer language
- the available data transformations
In that second language, the claim says, the description of a transformation is "typeless."
The LLM replies in the format of the second language. The system parses the reply for recommended transformations. It then generates the pipeline in the first, typed language.
In plain terms, the claim has the model answer in a typeless notation. The software produces the typed pipeline.
Dependent claims add more detail:
- a graphical interface that generates a "prompt selector" after the user picks data sets
- a format that indicates acceptable natural-language terms
- parsing that identifies a new data set for the pipeline
- a display of nodes for the data sets
Claims 19 and 20 cover a system and storage media that carry out the method.
The patent names no Palantir product. In our view, it fits a visual pipeline-building tool with a natural-language assistant. That is also how we read a later application from the same ten inventors, which Foundry News covered earlier.
We think the core idea is that the model does not have to write strict, typed code itself; software handles that step. For people building or buying LLM-assisted data tools, we see the split between a typeless prompt language and a typed pipeline language as the heart of this claim. Whether the later application's claims follow the same line is worth watching.
