kiln_ai.adapters

Adapters

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

Model adapters are used to call AI models, like Ollama, OpenAI, etc.

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.

The parser submodule contains parsers for the output of the AI models.

The eval submodule contains the code for evaluating the performance of a model.

 1"""
 2# Adapters
 3
 4Adapters are used to connect Kiln to external systems, or to add new functionality to Kiln.
 5
 6Model adapters are used to call AI models, like Ollama, OpenAI, etc.
 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
14The parser submodule contains parsers for the output of the AI models.
15
16The eval submodule contains the code for evaluating the performance of a model.
17"""
18
19from . import (
20    data_gen,
21    eval,
22    fine_tune,
23    ml_model_list,
24    model_adapters,
25    prompt_builders,
26    repair,
27)
28
29__all__ = [
30    "model_adapters",
31    "data_gen",
32    "fine_tune",
33    "ml_model_list",
34    "prompt_builders",
35    "repair",
36    "eval",
37]