Skip to content

Commit e9fb939

Browse files
authored
Merge pull request #702 from Kiln-AI/main
Update docs for v0.22
2 parents 659034b + 56f0376 commit e9fb939

149 files changed

Lines changed: 10446 additions & 3709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
</p>
88

99
<h3 align="center">
10-
Evals, Synthetic Data, and Fine-Tuning Made Easy
10+
Easily Build AI Systems
1111
</h3>
1212

1313
<p align="center">
1414
Kiln is a free and intuitive app for building AI systems and products
1515
</p>
1616

1717
<p align="center">
18-
<strong>Guides:</strong>
1918
<a href="https://docs.kiln.tech/docs/evaluations"><strong>Evals</strong></a> •
19+
<a href="https://docs.kiln.tech/docs/documents-and-search-rag"><strong>RAG</strong></a> •
20+
<a href="https://docs.kiln.tech/docs/agents"><strong>Agents</strong></a> •
2021
<a href="https://docs.kiln.tech/docs/fine-tuning-guide"><strong>Fine Tuning</strong></a> •
2122
<a href="https://docs.kiln.tech/docs/synthetic-data-generation"><strong>Synthetic Data</strong></a> •
22-
<a href="https://docs.kiln.tech/docs/quickstart"><strong>Quick Start</strong></a> •
2323
<a href="https://docs.kiln.tech"><strong>All Docs</strong></a>
2424
</p>
2525
<p align="center">
@@ -38,14 +38,16 @@
3838
- 🚀 [**Intuitive Desktop Apps**](https://kiln.tech/download): One-click apps for Windows, MacOS, and Linux.
3939
- 📊 [**Evals**](https://docs.kiln.tech/docs/evaluations): Evaluate the quality of your models/tasks using state of the art evaluators.
4040
- 🎛️ [**Fine Tuning**](https://docs.kiln.tech/docs/fine-tuning-guide): Zero-code fine-tuning for Llama, GPT-4o, and more. Automatic serverless deployment of models.
41-
- 🤖 [**Synthetic Data Generation**](https://docs.kiln.tech/docs/synthetic-data-generation): Generate eval datasets or fine-tuning data with our interactive visual tooling.
41+
- 🔍 [**Docs & Search (RAG)**](https://docs.kiln.tech/docs/documents-and-search-rag): Add knowledge to your AI systems with Retrieval-Augmented Generation (RAG).
42+
- 🤖 [**Agents**](https://docs.kiln.tech/docs/agents): Build agentic systems with multiple actors
4243
- 🛠 [**Tools & MCP**](https://docs.kiln.tech/docs/tools-and-mcp): Connect powerful tools to your Kiln tasks
44+
- 🪄 [**Synthetic Data Generation**](https://docs.kiln.tech/docs/synthetic-data-generation): Generate eval datasets or fine-tuning data with our interactive visual tooling.
4345
- 🧠 [**Reasoning Models**](https://docs.kiln.tech/docs/guide-train-a-reasoning-model): Train or distill your own custom reasoning models.
4446
- 📝 [**Prompt Generation**](https://docs.kiln.tech/docs/prompts): Automatically generate prompts including chain-of-thought, few-shot, and multi-shot, and more.
4547
- 🌐 [**Comprehensive Model Support**](https://kiln.tech/model_library): Skip the guesswork — we've tested over 100 models' capabilities. Use any model via Ollama, OpenAI, OpenRouter, Fireworks, Groq, AWS, any OpenAI compatible API, and more.
4648
- 🤝 [**Team Collaboration**](https://docs.kiln.tech/docs/collaboration): Git-based version control for your AI datasets. Intuitive UI makes it easy to collaborate with QA, PM, and subject matter experts on data samples, evals, prompts, ratings and issues.
4749
- 🗃️ [**Structured Data**](https://docs.kiln.tech/docs/structured-data-json): Build AI tasks that speak JSON.
48-
- 🧑‍💻 **Open-Source Library and API**: Our Python library and OpenAPI REST API are MIT open source.
50+
- 🧑‍💻 **Open-Source [Library](https://docs.kiln.tech/developers/python-library-quickstart) and [API](https://docs.kiln.tech/developers/rest-api)**: Our Python library and OpenAPI REST API are MIT open source.
4951
- 🔒 [**Privacy-First**](https://docs.kiln.tech/docs/privacy): Kiln runs locally on your computer. We can't access your data. Bring your own API keys or use Ollama.
5052
- 📚 [**Awesome Docs**](https://docs.kiln.tech): easy-to-follow video guides, approachable for beginners, and depth for advanced users.
5153
- 💰 **Free**: Our apps are free and our library is open-source.
@@ -82,11 +84,14 @@ Kiln is quite intuitive, so we suggest launching the desktop app and diving in.
8284
- [Guide: Train a Reasoning Model](https://docs.kiln.tech/docs/guide-train-a-reasoning-model)
8385
- [LLM Evaluators](https://docs.kiln.tech/docs/evaluators)
8486
- [End to End Project Demo](https://docs.kiln.tech/docs/end-to-end-project-demo)
87+
- [Tools 101: Intro to Tools & MCP](https://docs.kiln.tech/docs/tools-and-mcp)
8588

8689
### All Docs
8790

8891
- [Quick Start](https://docs.kiln.tech/getting-started/quickstart)
8992
- [How to use any AI model or provider in Kiln](https://docs.kiln.tech/docs/models-and-ai-providers)
93+
- [Documents & Search Tools (RAG)](https://docs.kiln.tech/docs/documents-and-search-rag)
94+
- [Tools & MCP](https://docs.kiln.tech/docs/tools-and-mcp)
9095
- [Reasoning & Chain of Thought](https://docs.kiln.tech/docs/reasoning-and-chain-of-thought)
9196
- [Synthetic Data Generation](https://docs.kiln.tech/docs/synthetic-data-generation)
9297
- [Collaborating with Kiln](https://docs.kiln.tech/docs/collaboration)

agents/tables_style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Here's an example of our table styling:
44

55
```
6-
<div class="overflow-x-auto rounded-lg border">
6+
<div class="rounded-lg border">
77
<table class="table">
88
<thead>
99
<tr>

app/desktop/WinInnoSetup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define MyAppPath "build\dist\Kiln"
55
#define MyAppName "Kiln"
6-
#define MyAppVersion "0.20.1"
6+
#define MyAppVersion "0.22.0"
77
#define MyAppPublisher "Chesterfield Laboratories Inc"
88
#define MyAppURL "https://kiln.tech"
99
#define MyAppExeName "Kiln.exe"

app/desktop/studio_server/eval_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
def eval_from_id(project_id: str, task_id: str, eval_id: str) -> Eval:
3636
task = task_from_id(project_id, task_id)
37-
for eval in task.evals():
38-
if eval.id == eval_id:
39-
return eval
37+
eval = Eval.from_id_and_parent_path(eval_id, task.path)
38+
if eval is not None:
39+
return eval
4040

4141
raise HTTPException(
4242
status_code=404,
@@ -395,7 +395,7 @@ async def create_task_run_config(
395395
prompt_name = generate_memorable_name()
396396
frozen_prompt = BasePrompt(
397397
name=prompt_name,
398-
description=f"Frozen copy of prompt '{prompt_id}', created for evaluations.",
398+
description=f"Frozen copy of prompt '{prompt_id}'.",
399399
generator_id=prompt_id,
400400
prompt=prompt_builder.build_base_prompt(),
401401
chain_of_thought_instructions=prompt_builder.chain_of_thought_prompt(),

app/desktop/studio_server/settings_api.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from fastapi import FastAPI, HTTPException
44
from kiln_ai.utils.config import Config
55
from kiln_ai.utils.filesystem import open_folder
6+
from kiln_server.project_api import project_from_id
67

78
from app.desktop.log_config import get_log_file_path
89

@@ -36,3 +37,16 @@ def open_logs():
3637
return {"message": "opened"}
3738
except Exception as e:
3839
raise HTTPException(status_code=500, detail=str(e))
40+
41+
@app.post("/api/open_project_folder/{project_id}")
42+
def open_project_folder(project_id: str):
43+
try:
44+
project = project_from_id(project_id)
45+
path = project.path
46+
if not path:
47+
raise HTTPException(status_code=500, detail="Project path not found")
48+
49+
open_folder(path)
50+
return {"message": "opened"}
51+
except Exception as e:
52+
raise HTTPException(status_code=500, detail=str(e))

app/desktop/studio_server/test_eval_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def test_create_task_run_config_with_freezing(
288288
assert result["prompt"]["name"] == "Custom Name"
289289
assert (
290290
result["prompt"]["description"]
291-
== "Frozen copy of prompt 'simple_chain_of_thought_prompt_builder', created for evaluations."
291+
== "Frozen copy of prompt 'simple_chain_of_thought_prompt_builder'."
292292
)
293293
# Fetch it from API
294294
fetch_response = client.get("/api/projects/project1/tasks/task1/task_run_configs")
@@ -302,7 +302,7 @@ async def test_create_task_run_config_with_freezing(
302302
assert configs[0]["run_config_properties"]["top_p"] == 1.0
303303
assert configs[0]["prompt"]["name"] == "Custom Name"
304304
assert configs[0]["prompt"]["description"] == (
305-
"Frozen copy of prompt 'simple_chain_of_thought_prompt_builder', created for evaluations."
305+
"Frozen copy of prompt 'simple_chain_of_thought_prompt_builder'."
306306
)
307307
assert configs[0]["run_config_properties"]["prompt_id"] == (
308308
"task_run_config::project1::task1::" + result["id"]

0 commit comments

Comments
 (0)