Check out the repository for the latest updeates
LLMs are great at processing semantic information and can even complete logical tasks in many cases. Unfortunately, LLMs struggle to do math and accurately process large amounts of data. One solution to this challenge is a pipeline that makes use of SQL and several prompts to provide a final result.
This guide will show how to implement a very basic Text to SQL pipeline that makes use of PGVector for vector searches and GPT as the LLM.
As an example we will have a list of purchases made on a credit card