> ## Documentation Index
> Fetch the complete documentation index at: https://docs.finetunedb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Training on Logs

> In FinetuneDB, you can search and filter past LLM requests to inspect responses and build a training dataset.

## Identify Logs

Logs are systematically tracked for future fine-tuning, capturing feedback, tags, and anomalies. Use the Log Viewer to identify relevant logs. Apply filters such as model and custom tags to locate the data needed for fine-tuning.

<img className="block dark:hidden" src="https://mintcdn.com/finetunedb/bemL8Zj00kYdZwsp/images/filter-logs-focus.webp?fit=max&auto=format&n=bemL8Zj00kYdZwsp&q=85&s=eb64a7002798680dc95c54096312b356" alt="Hero Light" width="2340" height="1524" data-path="images/filter-logs-focus.webp" />

<img className="hidden dark:block" src="https://mintcdn.com/finetunedb/bemL8Zj00kYdZwsp/images/filter-logs-focus.webp?fit=max&auto=format&n=bemL8Zj00kYdZwsp&q=85&s=eb64a7002798680dc95c54096312b356" alt="Hero Dark" width="2340" height="1524" data-path="images/filter-logs-focus.webp" />

## Add Logs to Dataset

Select the filtered logs and import them into a dataset. Save the dataset to use it for fine-tuning your models.

<img className="block dark:hidden" src="https://mintcdn.com/finetunedb/bemL8Zj00kYdZwsp/images/add-logs-to-dataset.webp?fit=max&auto=format&n=bemL8Zj00kYdZwsp&q=85&s=430cc6576eb4a7b02f66d6f0dc9f81fc" alt="Hero Light" width="5376" height="2595" data-path="images/add-logs-to-dataset.webp" />

<img className="hidden dark:block" src="https://mintcdn.com/finetunedb/bemL8Zj00kYdZwsp/images/add-logs-to-dataset.webp?fit=max&auto=format&n=bemL8Zj00kYdZwsp&q=85&s=430cc6576eb4a7b02f66d6f0dc9f81fc" alt="Hero Dark" width="5376" height="2595" data-path="images/add-logs-to-dataset.webp" />

## Train on Logs

By leveraging production data, you can speed up the creation of fine-tuning datasets. This approach also facilitates switching between models, such as moving from a proprietary model (like GPT-4) to an open-source model.
