> For the complete documentation index, see [llms.txt](https://docs.ellipticpir.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipticpir.com/technology/reply-generation.md).

# Reply Generation

To generate a server's reply, we take a multiply-and-add (inner product for 1d case, tensor product for 2+d case) between the query and the database elements stored on our database. This tensor product will be repeated for the dimension of a dataset to generate the final reply.
