Skip to content

DataBonsai

Clean and classify data with LLMs in Python

Visit official site

What DataBonsai is

DataBonsai is described as a Python library that uses large language models to clean data through classification, transformation and extraction.

What you can do with it

  • Classify data into predefined categories
  • Transform data through prompts
  • Extract data into a structured schema

Getting started

  • Install the databonsai library
  • Create a .env file with an API key
  • Set the LLM provider and categories
  • Call categorize on a single item

Pros & cons

✓ What we like

  • Tokens are saved by sending schema and examples once
  • A progress bar is included for large sets

! What to watch out for

  • An API key is set in a .env file
  • Cleaning runs through LLM output validation

FAQ

What tasks are listed?

The feature list names classification, transformation and extraction of data.

How are errors handled?

The material describes built-in retry logic for API errors.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review