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

# AI assistant

> Fine-tune by chatting: attach a spreadsheet or text, say what you need, and confirm.

The AI assistant is a chat on [Home](https://docs.valkyrieapp.azumo.com/dashboard/overview.md#home) that works through
Valkyrie for you. Tell it what the model should get better at, attach your data if
you have it, and it builds the training data, picks a base model, prices the run and
prepares the fine-tune. **Nothing that costs money happens until you confirm.**

![Valkyrie AI assistant conversation: the steps it took and a Start fine-tune card with time, cost and balance](https://mintcdn.com/valkyrie-azumo/vRUyZlHCOqdd-9-P/images/dashboard/assistant-chat.png?fit=max\&auto=format\&n=vRUyZlHCOqdd-9-P\&q=85\&s=7c1201aa7493ba9edaeda393294e93ab)

Attach a table, say what to predict, and confirm the fine-tune.

## Start a conversation

**1. Open Home**

Make sure **Do it with the AI assistant** is selected at the top of the box.

**2. Say what you need**

Write it in your own words, for example "Train a model that predicts which
customers will churn" or "Answer our customers the way our support team does".

**3. Attach your data**

Use **Upload a file**, **Paste text**, or **Use a dataset**. You can attach more on
any later message with the paperclip.

**4. Ask the assistant**

Click **Ask the assistant**. Each step it takes shows as a short line in the chat,
with a link to anything it created.

![Valkyrie Home start box in AI assistant mode with Paste text, Upload a file and Use a dataset](https://mintcdn.com/valkyrie-azumo/vRUyZlHCOqdd-9-P/images/dashboard/assistant-start.png?fit=max\&auto=format\&n=vRUyZlHCOqdd-9-P\&q=85\&s=b2b37848223c09b412638e2e6fd90238)

Say what you need, attach your data, and ask the assistant.

## What you can attach

Files can be up to 200 MB:

* **Tables**: Excel (.xlsx, .xls), CSV, TSV, JSON, JSONL and Parquet. A table is saved
  as one of your [datasets](https://docs.valkyrieapp.azumo.com/dashboard/data.md).
* **Text**: TXT and Markdown, such as an FAQ, policies or past replies.
* **PDF** with selectable text, such as a manual or a policy document. The
  assistant reads the PDF's text, not images of its pages, so a scanned PDF is
  refused with "This PDF has no text to read: it looks scanned (pages are images).
  Attach a PDF with selectable text, or paste the text instead." A
  password-protected PDF has to be unlocked first.

You can also start from one of your datasets or an
[example set](https://docs.valkyrieapp.azumo.com/dashboard/data.md#start-from-an-example-set), or attach nothing and describe the task.

## What it can do

* **Turn a table into training data**: attach a table and say which column to
  predict, for example "predict whether a customer churns". The assistant converts
  every row exactly, leaves out columns like IDs and names, and uses the column's
  values as labels (or as answers, for numbers and free text).
* **Build a dataset from text**: from an FAQ, policies or a PDF, it writes
  question and answer examples using only facts from your material. This runs in
  the background for a few minutes.
* **Change saved training data**: once your data is saved, ask for changes in
  your own words, such as "shorter answers", "more like row 4" or "drop the long
  ones". The assistant can drop rows by number, drop rows whose answer is too
  long, and rewrite every answer as you ask. It shows the result on a **Check the
  changed training data** card, with what changed, and saves it as a new
  [version of the dataset](https://docs.valkyrieapp.azumo.com/dashboard/data.md#clean-it-up) only when you click
  **Save and continue**. The original stays as it is.
* **Pick a base model** from the ones Valkyrie has tested, and say why.
* **Tell you the time and cost** of a fine-tune, and your wallet balance.
* **Keep versions together**: training again, with better data or another base
  model, becomes the next version of the model you already have instead of a new
  one. A new task gets a new model, named after what it does, such as "Ticket
  triage", or the name you give it. Ask it to rename a model at any time.
* **Reuse what you already have**: attaching the same file again uses the dataset
  it made last time, and if you already have training data from that table for the
  same column, it offers that instead of converting the table again. Saved
  datasets never repeat a name: a second one gets "(2)".
* **Start the fine-tune**, and tell you how it is going when you ask.
* **Report the result in the chat** when the fine-tune ends, even if you have left:
  how much better it got against the base model, in plain words (see
  [Test results](https://docs.valkyrieapp.azumo.com/dashboard/models.md#test-results)). If the gain is small, it says so
  and suggests one next step, such as more passes, more examples or a larger base
  model. It never starts another run without you.
* **Deploy it** as an endpoint, running until you stop it or on office hours.

## You stay in control

Before a fine-tune, the assistant shows a card with the model and version it will
be (for example **Lead conversion, v3**), the base model and **Why this model**,
the data, the passes over the data, how much is held back for testing and the
**Checks** it will be tested with, the time, the cost, your balance, and the
**Balance after** the run. **Change model** on the card switches it to the next
version of another of your models, or to a new model with a name you type. Tick
**Interruptible (cheaper bid box)** to train on cheaper capacity that can be taken
back, see [Interruptible capacity](https://docs.valkyrieapp.azumo.com/guides/wallet-billing.md#interruptible-capacity).
To change anything else, tell it, for example "do 5 passes", and it prepares the
card again, or **open it in New fine-tune** to change it there. Before a deploy,
the card shows the GPU, when it runs and your balance.

If your wallet doesn't hold the estimate's high end plus a 20% buffer, the card
says so, **Start fine-tune** is disabled, and an **Add funds** link takes you to
top up. See [The summary and your wallet](https://docs.valkyrieapp.azumo.com/dashboard/fine-tuning.md#the-summary-and-your-wallet).

Nothing starts until you click **Start fine-tune** or **Deploy**, and **Not now**
cancels it.

Your conversation is saved. It stays in the page address, so you can leave and come
back, and **Pick up where you left off** under the box lists your recent
conversations. When a fine-tune you started there ends, its result is added to that
conversation, which moves to the front of the list. **New conversation** starts over.

## Prefer to do it yourself?

Switch Home to **I have my examples**, or open
[New fine-tune](https://docs.valkyrieapp.azumo.com/dashboard/fine-tuning.md) from the top bar. The
[Fine-tune a model](https://docs.valkyrieapp.azumo.com/guides/fine-tuning.md) guide covers both ways.

> [!NOTE]
>
> Where the assistant isn't available yet, Home opens on **I have my examples**, and
> **Do it with the AI assistant** shows a padlock with a link back to your own
> examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.