kiln_ai.adapters

Adapters

Adapters are used to connect Kiln to external systems, or to add new functionality to Kiln.

BaseAdapter is extensible, and used for adding adapters that provide AI functionality. There's currently a LangChain adapter which provides a bridge to LangChain.

The ml_model_list submodule contains a list of models that can be used for machine learning tasks. More can easily be added, but we keep a list here of models that are known to work well with Kiln's structured data and tool calling systems.

The prompt_builders submodule contains classes that build prompts for use with the AI agents.

The repair submodule contains an adapter for the repair task.

 1"""
 2# Adapters
 3
 4Adapters are used to connect Kiln to external systems, or to add new functionality to Kiln.
 5
 6BaseAdapter is extensible, and used for adding adapters that provide AI functionality. There's currently a LangChain adapter which provides a bridge to LangChain.
 7
 8The ml_model_list submodule contains a list of models that can be used for machine learning tasks. More can easily be added, but we keep a list here of models that are known to work well with Kiln's structured data and tool calling systems.
 9
10The prompt_builders submodule contains classes that build prompts for use with the AI agents.
11
12The repair submodule contains an adapter for the repair task.
13"""
14
15from . import (
16    base_adapter,
17    data_gen,
18    fine_tune,
19    langchain_adapters,
20    ml_model_list,
21    prompt_builders,
22    repair,
23)
24
25__all__ = [
26    "base_adapter",
27    "langchain_adapters",
28    "ml_model_list",
29    "prompt_builders",
30    "repair",
31    "data_gen",
32    "fine_tune",
33]