kiln-ai 0.18.0__tar.gz → 0.20.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kiln-ai might be problematic. Click here for more details.
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/PKG-INFO +37 -6
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/README.md +34 -4
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/data_gen/data_gen_task.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/data_gen.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval/base_eval.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval/eval_runner.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval/g_eval.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval/registry.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune/base_finetune.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune/dataset_formatter.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune/finetune_registry.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune/openai_finetune.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/ml_model_list.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/model_adapters/base_adapter.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/model_adapters/litellm_adapter.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/model_adapters.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/prompt_builders.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/repair/repair_task.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/repair.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/datamodel/dataset_split.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/datamodel/eval.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/datamodel/strict_mode.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/datamodel.html +3 -3
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/utils/config.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/utils/formatting.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/utils.html +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai.html +4 -4
- kiln_ai-0.20.1/docs/kiln_core_docs/search.js +46 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/adapter_registry.py +46 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/chat/chat_formatter.py +8 -12
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/chat/test_chat_formatter.py +6 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/data_gen/data_gen_task.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/data_gen/test_data_gen_task.py +7 -3
- kiln_ai-0.20.1/kiln_ai/adapters/docker_model_runner_tools.py +119 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/base_eval.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/eval_runner.py +3 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/g_eval.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/test_base_eval.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/test_eval_runner.py +6 -12
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/test_g_eval.py +3 -4
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/test_g_eval_data.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/base_finetune.py +1 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/fireworks_finetune.py +32 -20
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/openai_finetune.py +14 -4
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_fireworks_tinetune.py +30 -21
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_openai_finetune.py +108 -111
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/ml_model_list.py +1009 -111
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/base_adapter.py +62 -28
- kiln_ai-0.20.1/kiln_ai/adapters/model_adapters/litellm_adapter.py +738 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/test_base_adapter.py +194 -18
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/test_litellm_adapter.py +428 -4
- kiln_ai-0.20.1/kiln_ai/adapters/model_adapters/test_litellm_adapter_tools.py +1103 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/test_saving_adapter_results.py +5 -5
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/test_structured_output.py +120 -14
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/__init__.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/test_r1_parser.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/provider_tools.py +35 -20
- kiln_ai-0.20.1/kiln_ai/adapters/remote_config.py +113 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/repair/repair_task.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/repair/test_repair_task.py +12 -9
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/run_output.py +3 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_adapter_registry.py +109 -2
- kiln_ai-0.20.1/kiln_ai/adapters/test_docker_model_runner_tools.py +305 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_ml_model_list.py +51 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_prompt_adaptors.py +13 -6
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_provider_tools.py +73 -12
- kiln_ai-0.20.1/kiln_ai/adapters/test_remote_config.py +554 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/__init__.py +23 -21
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/basemodel.py +54 -28
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/datamodel_enums.py +3 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/dataset_split.py +5 -3
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/eval.py +4 -4
- kiln_ai-0.20.1/kiln_ai/datamodel/external_tool_server.py +298 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/finetune.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/json_schema.py +25 -10
- kiln_ai-0.20.1/kiln_ai/datamodel/project.py +30 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/prompt.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/prompt_id.py +4 -4
- kiln_ai-0.20.1/kiln_ai/datamodel/registry.py +16 -0
- kiln_ai-0.20.1/kiln_ai/datamodel/run_config.py +62 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/task.py +8 -83
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/task_output.py +7 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/task_run.py +41 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_basemodel.py +213 -21
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_eval_model.py +6 -6
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_example_models.py +175 -0
- kiln_ai-0.20.1/kiln_ai/datamodel/test_external_tool_server.py +691 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_model_perf.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_prompt_id.py +5 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_registry.py +8 -3
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_task.py +20 -47
- kiln_ai-0.20.1/kiln_ai/datamodel/test_tool_id.py +239 -0
- kiln_ai-0.20.1/kiln_ai/datamodel/tool_id.py +83 -0
- kiln_ai-0.20.1/kiln_ai/tools/__init__.py +8 -0
- kiln_ai-0.20.1/kiln_ai/tools/base_tool.py +82 -0
- kiln_ai-0.20.1/kiln_ai/tools/built_in_tools/__init__.py +13 -0
- kiln_ai-0.20.1/kiln_ai/tools/built_in_tools/math_tools.py +124 -0
- kiln_ai-0.20.1/kiln_ai/tools/built_in_tools/test_math_tools.py +204 -0
- kiln_ai-0.20.1/kiln_ai/tools/mcp_server_tool.py +95 -0
- kiln_ai-0.20.1/kiln_ai/tools/mcp_session_manager.py +243 -0
- kiln_ai-0.20.1/kiln_ai/tools/test_base_tools.py +199 -0
- kiln_ai-0.20.1/kiln_ai/tools/test_mcp_server_tool.py +457 -0
- kiln_ai-0.20.1/kiln_ai/tools/test_mcp_session_manager.py +1585 -0
- kiln_ai-0.20.1/kiln_ai/tools/test_tool_registry.py +473 -0
- kiln_ai-0.20.1/kiln_ai/tools/tool_registry.py +64 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/config.py +32 -0
- kiln_ai-0.20.1/kiln_ai/utils/open_ai_types.py +94 -0
- kiln_ai-0.18.0/kiln_ai/datamodel/registry.py → kiln_ai-0.20.1/kiln_ai/utils/project_utils.py +1 -15
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/test_config.py +138 -1
- kiln_ai-0.20.1/kiln_ai/utils/test_open_ai_types.py +131 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/pyproject.toml +3 -2
- kiln_ai-0.18.0/docs/kiln_core_docs/search.js +0 -46
- kiln_ai-0.18.0/kiln_ai/adapters/model_adapters/litellm_adapter.py +0 -421
- kiln_ai-0.18.0/kiln_ai/adapters/remote_config.py +0 -66
- kiln_ai-0.18.0/kiln_ai/adapters/test_remote_config.py +0 -100
- kiln_ai-0.18.0/kiln_ai/datamodel/project.py +0 -23
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/.gitignore +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/.python-version +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/LICENSE.txt +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/index.html +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/__init__.py +2 -2
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/chat/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/data_gen/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/data_gen/data_gen_prompts.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/eval/registry.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/__init__.py +1 -1
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/dataset_formatter.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/finetune_registry.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_base_finetune.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_dataset_formatter.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_together_finetune.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/test_vertex_finetune.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/together_finetune.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/fine_tune/vertex_finetune.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/model_adapters/litellm_config.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/ollama_tools.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/base_parser.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/json_parser.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/parser_registry.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/r1_parser.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/request_formatters.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/test_json_parser.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/test_parser_registry.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/parsers/test_request_formatters.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/prompt_builders.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/repair/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_ollama_tools.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/adapters/test_prompt_builders.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/dataset_filters.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/model_cache.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/strict_mode.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_dataset_filters.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_dataset_split.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_datasource.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_json_schema.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_model_cache.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_models.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_nested_save.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/datamodel/test_output_rating.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/__init__.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/async_job_runner.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/dataset_import.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/exhaustive_error.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/formatting.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/logging.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/name_generator.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/test_async_job_runner.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/test_dataset_import.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/kiln_ai/utils/test_name_geneator.py +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/setup.cfg +0 -0
- {kiln_ai-0.18.0 → kiln_ai-0.20.1}/uv.lock +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kiln-ai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.20.1
|
|
4
4
|
Summary: Kiln AI
|
|
5
|
-
Project-URL: Homepage, https://
|
|
5
|
+
Project-URL: Homepage, https://kiln.tech
|
|
6
6
|
Project-URL: Repository, https://github.com/Kiln-AI/kiln
|
|
7
7
|
Project-URL: Documentation, https://kiln-ai.github.io/Kiln/kiln_core_docs/kiln_ai.html
|
|
8
8
|
Project-URL: Issues, https://github.com/Kiln-AI/kiln/issues
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
17
17
|
Requires-Python: >=3.10
|
|
18
18
|
Requires-Dist: boto3>=1.37.10
|
|
19
19
|
Requires-Dist: coverage>=7.6.4
|
|
20
|
+
Requires-Dist: exceptiongroup>=1.0.0; python_version < '3.11'
|
|
20
21
|
Requires-Dist: google-cloud-aiplatform>=1.84.0
|
|
21
22
|
Requires-Dist: jsonschema>=4.23.0
|
|
22
23
|
Requires-Dist: litellm>=1.72.6
|
|
@@ -53,7 +54,7 @@ pip install kiln_ai
|
|
|
53
54
|
|
|
54
55
|
## About
|
|
55
56
|
|
|
56
|
-
This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at [
|
|
57
|
+
This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at [kiln.tech](https://kiln.tech) and on Github: [github.com/Kiln-AI/kiln](https://github.com/Kiln-AI/kiln).
|
|
57
58
|
|
|
58
59
|
# Guide: Using the Kiln Python Library
|
|
59
60
|
|
|
@@ -65,6 +66,7 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
65
66
|
|
|
66
67
|
## Table of Contents
|
|
67
68
|
|
|
69
|
+
- [Connecting AI Providers](#connecting-ai-providers-openai-openrouter-ollama-etc)
|
|
68
70
|
- [Using the Kiln Data Model](#using-the-kiln-data-model)
|
|
69
71
|
- [Understanding the Kiln Data Model](#understanding-the-kiln-data-model)
|
|
70
72
|
- [Datamodel Overview](#datamodel-overview)
|
|
@@ -73,6 +75,7 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
73
75
|
- [Using your Kiln Dataset in a Notebook or Project](#using-your-kiln-dataset-in-a-notebook-or-project)
|
|
74
76
|
- [Using Kiln Dataset in Pandas](#using-kiln-dataset-in-pandas)
|
|
75
77
|
- [Building and Running a Kiln Task from Code](#building-and-running-a-kiln-task-from-code)
|
|
78
|
+
- [Tagging Task Runs Programmatically](#tagging-task-runs-programmatically)
|
|
76
79
|
- [Adding Custom Model or AI Provider from Code](#adding-custom-model-or-ai-provider-from-code)
|
|
77
80
|
- [Full API Reference](#full-api-reference)
|
|
78
81
|
|
|
@@ -82,6 +85,12 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
82
85
|
pip install kiln-ai
|
|
83
86
|
```
|
|
84
87
|
|
|
88
|
+
## Connecting AI Providers (OpenAI, OpenRouter, Ollama, etc)
|
|
89
|
+
|
|
90
|
+
The easiest way to connect AI providers is to use the Kiln app UI. Once connected in the UI, credentials will be stored to `~/.kiln_ai/settings.yml`, which will be available to the library.
|
|
91
|
+
|
|
92
|
+
For configuring credentials from code or connecting custom servers/model, see [Adding Custom Model or AI Provider from Code](#adding-custom-model-or-ai-provider-from-code).
|
|
93
|
+
|
|
85
94
|
## Using the Kiln Data Model
|
|
86
95
|
|
|
87
96
|
### Understanding the Kiln Data Model
|
|
@@ -179,7 +188,10 @@ item = kiln_ai.datamodel.TaskRun(
|
|
|
179
188
|
type=kiln_ai.datamodel.DataSourceType.human,
|
|
180
189
|
properties={"created_by": "Jane Doe"},
|
|
181
190
|
),
|
|
182
|
-
rating=kiln_ai.datamodel.TaskOutputRating(
|
|
191
|
+
rating=kiln_ai.datamodel.TaskOutputRating(
|
|
192
|
+
value=5,
|
|
193
|
+
type=kiln_ai.datamodel.datamodel_enums.five_star,
|
|
194
|
+
),
|
|
183
195
|
),
|
|
184
196
|
)
|
|
185
197
|
item.save_to_file()
|
|
@@ -270,14 +282,33 @@ for run in task.runs():
|
|
|
270
282
|
|
|
271
283
|
```
|
|
272
284
|
|
|
285
|
+
## Tagging Task Runs Programmatically
|
|
286
|
+
|
|
287
|
+
You can also tag your Kiln Task runs programmatically:
|
|
288
|
+
|
|
289
|
+
```py
|
|
290
|
+
# Load your Kiln Task from disk
|
|
291
|
+
task_path = "/Users/youruser/Kiln Projects/test project/tasks/632780983478 - Joke Generator/task.kiln"
|
|
292
|
+
task = kiln_ai.datamodel.Task.load_from_file(task_path)
|
|
293
|
+
|
|
294
|
+
for run in task.runs():
|
|
295
|
+
# Parse the task output from JSON
|
|
296
|
+
output = json.loads(run.output.output)
|
|
297
|
+
|
|
298
|
+
# Add a tag if the punchline is unusually short
|
|
299
|
+
if len(output["punchline"]) < 100:
|
|
300
|
+
run.tags.append("very_short")
|
|
301
|
+
run.save_to_file() # Persist the updated tags
|
|
302
|
+
```
|
|
303
|
+
|
|
273
304
|
### Adding Custom Model or AI Provider from Code
|
|
274
305
|
|
|
275
306
|
You can add additional AI models and providers to Kiln.
|
|
276
307
|
|
|
277
308
|
See our docs for more information, including how to add these from the UI:
|
|
278
309
|
|
|
279
|
-
- [Custom Models From Existing Providers](https://docs.
|
|
280
|
-
- [Custom OpenAI Compatible Servers](https://docs.
|
|
310
|
+
- [Custom Models From Existing Providers](https://docs.kiln.tech/docs/models-and-ai-providers#custom-models-from-existing-providers)
|
|
311
|
+
- [Custom OpenAI Compatible Servers](https://docs.kiln.tech/docs/models-and-ai-providers#custom-openai-compatible-servers)
|
|
281
312
|
|
|
282
313
|
You can also add these from code. The kiln_ai.utils.Config class helps you manage the Kiln config file (stored at `~/.kiln_settings/config.yaml`):
|
|
283
314
|
|
|
@@ -20,7 +20,7 @@ pip install kiln_ai
|
|
|
20
20
|
|
|
21
21
|
## About
|
|
22
22
|
|
|
23
|
-
This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at [
|
|
23
|
+
This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at [kiln.tech](https://kiln.tech) and on Github: [github.com/Kiln-AI/kiln](https://github.com/Kiln-AI/kiln).
|
|
24
24
|
|
|
25
25
|
# Guide: Using the Kiln Python Library
|
|
26
26
|
|
|
@@ -32,6 +32,7 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
32
32
|
|
|
33
33
|
## Table of Contents
|
|
34
34
|
|
|
35
|
+
- [Connecting AI Providers](#connecting-ai-providers-openai-openrouter-ollama-etc)
|
|
35
36
|
- [Using the Kiln Data Model](#using-the-kiln-data-model)
|
|
36
37
|
- [Understanding the Kiln Data Model](#understanding-the-kiln-data-model)
|
|
37
38
|
- [Datamodel Overview](#datamodel-overview)
|
|
@@ -40,6 +41,7 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
40
41
|
- [Using your Kiln Dataset in a Notebook or Project](#using-your-kiln-dataset-in-a-notebook-or-project)
|
|
41
42
|
- [Using Kiln Dataset in Pandas](#using-kiln-dataset-in-pandas)
|
|
42
43
|
- [Building and Running a Kiln Task from Code](#building-and-running-a-kiln-task-from-code)
|
|
44
|
+
- [Tagging Task Runs Programmatically](#tagging-task-runs-programmatically)
|
|
43
45
|
- [Adding Custom Model or AI Provider from Code](#adding-custom-model-or-ai-provider-from-code)
|
|
44
46
|
- [Full API Reference](#full-api-reference)
|
|
45
47
|
|
|
@@ -49,6 +51,12 @@ The library has a [comprehensive set of docs](https://kiln-ai.github.io/Kiln/kil
|
|
|
49
51
|
pip install kiln-ai
|
|
50
52
|
```
|
|
51
53
|
|
|
54
|
+
## Connecting AI Providers (OpenAI, OpenRouter, Ollama, etc)
|
|
55
|
+
|
|
56
|
+
The easiest way to connect AI providers is to use the Kiln app UI. Once connected in the UI, credentials will be stored to `~/.kiln_ai/settings.yml`, which will be available to the library.
|
|
57
|
+
|
|
58
|
+
For configuring credentials from code or connecting custom servers/model, see [Adding Custom Model or AI Provider from Code](#adding-custom-model-or-ai-provider-from-code).
|
|
59
|
+
|
|
52
60
|
## Using the Kiln Data Model
|
|
53
61
|
|
|
54
62
|
### Understanding the Kiln Data Model
|
|
@@ -146,7 +154,10 @@ item = kiln_ai.datamodel.TaskRun(
|
|
|
146
154
|
type=kiln_ai.datamodel.DataSourceType.human,
|
|
147
155
|
properties={"created_by": "Jane Doe"},
|
|
148
156
|
),
|
|
149
|
-
rating=kiln_ai.datamodel.TaskOutputRating(
|
|
157
|
+
rating=kiln_ai.datamodel.TaskOutputRating(
|
|
158
|
+
value=5,
|
|
159
|
+
type=kiln_ai.datamodel.datamodel_enums.five_star,
|
|
160
|
+
),
|
|
150
161
|
),
|
|
151
162
|
)
|
|
152
163
|
item.save_to_file()
|
|
@@ -237,14 +248,33 @@ for run in task.runs():
|
|
|
237
248
|
|
|
238
249
|
```
|
|
239
250
|
|
|
251
|
+
## Tagging Task Runs Programmatically
|
|
252
|
+
|
|
253
|
+
You can also tag your Kiln Task runs programmatically:
|
|
254
|
+
|
|
255
|
+
```py
|
|
256
|
+
# Load your Kiln Task from disk
|
|
257
|
+
task_path = "/Users/youruser/Kiln Projects/test project/tasks/632780983478 - Joke Generator/task.kiln"
|
|
258
|
+
task = kiln_ai.datamodel.Task.load_from_file(task_path)
|
|
259
|
+
|
|
260
|
+
for run in task.runs():
|
|
261
|
+
# Parse the task output from JSON
|
|
262
|
+
output = json.loads(run.output.output)
|
|
263
|
+
|
|
264
|
+
# Add a tag if the punchline is unusually short
|
|
265
|
+
if len(output["punchline"]) < 100:
|
|
266
|
+
run.tags.append("very_short")
|
|
267
|
+
run.save_to_file() # Persist the updated tags
|
|
268
|
+
```
|
|
269
|
+
|
|
240
270
|
### Adding Custom Model or AI Provider from Code
|
|
241
271
|
|
|
242
272
|
You can add additional AI models and providers to Kiln.
|
|
243
273
|
|
|
244
274
|
See our docs for more information, including how to add these from the UI:
|
|
245
275
|
|
|
246
|
-
- [Custom Models From Existing Providers](https://docs.
|
|
247
|
-
- [Custom OpenAI Compatible Servers](https://docs.
|
|
276
|
+
- [Custom Models From Existing Providers](https://docs.kiln.tech/docs/models-and-ai-providers#custom-models-from-existing-providers)
|
|
277
|
+
- [Custom OpenAI Compatible Servers](https://docs.kiln.tech/docs/models-and-ai-providers#custom-openai-compatible-servers)
|
|
248
278
|
|
|
249
279
|
You can also add these from code. The kiln_ai.utils.Config class helps you manage the Kiln config file (stored at `~/.kiln_settings/config.yaml`):
|
|
250
280
|
|
{kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/data_gen/data_gen_task.html
RENAMED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.data_gen</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.eval</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
{kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/eval/eval_runner.html
RENAMED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.eval</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.eval</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.eval</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
{kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/fine_tune/base_finetune.html
RENAMED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.fine_tune</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.fine_tune</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.fine_tune</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.fine_tune</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.model_adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.model_adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
{kiln_ai-0.18.0 → kiln_ai-0.20.1}/docs/kiln_core_docs/kiln_ai/adapters/repair/repair_task.html
RENAMED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters.repair</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.adapters</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.datamodel</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.datamodel</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.datamodel</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
|
|
679
679
|
<p>Developer docs: <a href="https://kiln-ai.github.io/Kiln/kiln_core_docs/kiln_ai.html">https://kiln-ai.github.io/Kiln/kiln_core_docs/kiln_ai.html</a></p>
|
|
680
680
|
|
|
681
|
-
<p>User docs: <a href="https://docs.
|
|
681
|
+
<p>User docs: <a href="https://docs.kiln.tech/developers/kiln-datamodel">https://docs.kiln.tech/developers/kiln-datamodel</a></p>
|
|
682
682
|
</div>
|
|
683
683
|
|
|
684
684
|
<input id="mod-datamodel-view-source" class="view-source-toggle-state" type="checkbox" aria-hidden="true" tabindex="-1">
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
</span><span id="L-3"><a href="#L-3"><span class="linenos"> 3</span></a>
|
|
691
691
|
</span><span id="L-4"><a href="#L-4"><span class="linenos"> 4</span></a><span class="sd">Developer docs: https://kiln-ai.github.io/Kiln/kiln_core_docs/kiln_ai.html</span>
|
|
692
692
|
</span><span id="L-5"><a href="#L-5"><span class="linenos"> 5</span></a>
|
|
693
|
-
</span><span id="L-6"><a href="#L-6"><span class="linenos"> 6</span></a><span class="sd">User docs: https://docs.
|
|
693
|
+
</span><span id="L-6"><a href="#L-6"><span class="linenos"> 6</span></a><span class="sd">User docs: https://docs.kiln.tech/developers/kiln-datamodel</span>
|
|
694
694
|
</span><span id="L-7"><a href="#L-7"><span class="linenos"> 7</span></a><span class="sd">"""</span>
|
|
695
695
|
</span><span id="L-8"><a href="#L-8"><span class="linenos"> 8</span></a>
|
|
696
696
|
</span><span id="L-9"><a href="#L-9"><span class="linenos"> 9</span></a><span class="c1"># This component uses "flat" imports so we don't have too much internal structure exposed in the API.</span>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.utils</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai.utils</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
|
|
23
23
|
</svg> kiln_ai</a>
|
|
24
24
|
|
|
25
|
-
<a href="https://
|
|
25
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
26
26
|
</a>
|
|
27
27
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
28
28
|
pattern=".+" required>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<label id="navtoggle" for="togglestate" class="pdoc-button"><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke-linecap='round' stroke="currentColor" stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg></label>
|
|
18
18
|
<input id="togglestate" type="checkbox" aria-hidden="true" tabindex="-1">
|
|
19
19
|
<div>
|
|
20
|
-
<a href="https://
|
|
20
|
+
<a href="https://kiln.tech"> <img src="https://github.com/user-attachments/assets/046f44ae-28cf-4c78-85c3-c3e5ad744fd7" class="logo" alt="project logo"/>
|
|
21
21
|
</a>
|
|
22
22
|
<input type="search" placeholder="Search..." role="searchbox" aria-label="search"
|
|
23
23
|
pattern=".+" required>
|
|
@@ -84,7 +84,7 @@ kiln_ai </h1>
|
|
|
84
84
|
|
|
85
85
|
<h2 id="about">About</h2>
|
|
86
86
|
|
|
87
|
-
<p>This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at <a href="https://
|
|
87
|
+
<p>This package is the Kiln AI core library. There is also a separate desktop application and server package. Learn more about Kiln AI at <a href="https://kiln.tech">kiln.tech</a> and on Github: <a href="https://github.com/Kiln-AI/kiln">github.com/Kiln-AI/kiln</a>.</p>
|
|
88
88
|
|
|
89
89
|
<h1 id="guide-using-the-kiln-python-library">Guide: Using the Kiln Python Library</h1>
|
|
90
90
|
|
|
@@ -327,8 +327,8 @@ kiln_ai </h1>
|
|
|
327
327
|
<p>See our docs for more information, including how to add these from the UI:</p>
|
|
328
328
|
|
|
329
329
|
<ul>
|
|
330
|
-
<li><a href="https://docs.
|
|
331
|
-
<li><a href="https://docs.
|
|
330
|
+
<li><a href="https://docs.kiln.tech/docs/models-and-ai-providers#custom-models-from-existing-providers">Custom Models From Existing Providers</a></li>
|
|
331
|
+
<li><a href="https://docs.kiln.tech/docs/models-and-ai-providers#custom-openai-compatible-servers">Custom OpenAI Compatible Servers</a></li>
|
|
332
332
|
</ul>
|
|
333
333
|
|
|
334
334
|
<p>You can also add these from code. The kiln_ai.utils.Config class helps you manage the Kiln config file (stored at <code>~/.kiln_settings/config.yaml</code>):</p>
|