Kiln AI Docs
Kiln Website
  • Welcome to Kiln AI
  • Docs
    • Quickstart
    • Models and AI Providers
    • Synthetic Data Generation
    • Fine Tuning Guide
    • Evaluations
    • Guide: Train a Reasoning Model
    • Reasoning & Chain of Thought
    • Prompts
    • Reviewing and Rating
    • Collaboration
    • Organizing Datasets
    • Structured Data / JSON
    • Keyboard Shortcuts
    • Privacy
    • Repairing Responses
    • Troubleshooting & Logs
    • Productionizing Kiln
    • Contact Us
  • Developers
    • Python Library Setup
    • Rest API
    • Kiln Data Model
Powered by GitBook
On this page
  • Installation
  • Library Docs & Examples
  • Web/REST API
  1. Developers

Python Library Setup

pip install kiln_ai

PreviousContact UsNextRest API

Last updated 4 months ago

The Python library is completely optional. If you just want to use the app, follow our Quickstart guide.

Our open source python library allows you to use Kiln from your codebase. This can be as simple as accessing a Kiln dataset from a notebook, or as advanced as running any of our features from code.

Installation

To install Kiln, run the following command:

pip install kiln_ai

Library Docs & Examples

Our library docs include an API reference for all of the library's features.

The docs include several quick-start examples to get up and running:

  • Using the Kiln Data Model

    • Understanding the Kiln Data Model

    • Datamodel Overview

    • Load a Project

    • Load an Existing Dataset into a Kiln Task Dataset

    • Using your Kiln Dataset in a Notebook or Project

    • Using Kiln Dataset in Pandas

Web/REST API

We also offer a self-hostable REST API for Kiln, based on FastAPI.