PrefixQuery Core Source code and Supplementary Proof Material.
The complete source code is temporarily withheld while a patent application is being prepared (the application number will be posted here once available). The code released here embodies the core idea of the paper, and users are expected to complete the remaining implementation to run their own experiments. The full codebase will be released upon the publication of the patent application, and the exact release date will be announced here once confirmed.
fasttree - the core code of our decoding attention kernel plugin.
pipeline - the core code of our pattern miner and data reorganizer, including pipeline strategy and reordering method. served as a background process.
lotus - relational interface provider, with LLMs operators supported.
the proof material of NP-Hard difficulty of data reordering.
Due to the large size of data, we do not provide the dataset. All dataset is available from Huggingface.
some prompt examples provided.
A simple relational operator caller example.