A Python tool by Query.Farm lets users ask TypeSafe AI models questions directly within DuckDB database queries to categorize text and calculate confidence scores.
This integration requires Python 3.13, the DuckDB VGI extension, and a TypeSafe API key. The inspected main code revision might include features not found in the older v0.1.0 release. Reviewers only inspected the source code and did not run the project, verify performance claims, or execute any live API requests.
How you can use it
Users can connect the tool to their database to evaluate text using three types of questions. The system can pick from a list of options, calculate the probability of a yes-or-no question, or rank text on a custom scale.
The tool processes multiple questions about the same text in a single request to save time and costs. It returns structured answers alongside a confidence measurement, allowing users to automatically filter out uncertain results for human review.