Dataset

**Datasets** control how your Kaji responds to specific words, phrases, and actions. It is the heart and soul (and brain) of building a Kaji.

Every dataset you create has a unique four-digit code. The code is found at the end of the URL of your dataset's profile page.

Example: if the URL is *https://kajiwoto.com/d/**EOPD**,* the skin's code is **EOPD**.

## Create a New Dataset (Web)

1. Navigate to your profile, under the Datasets tab, and click “New+”
2. Name your dataset
3. Describe your dataset and upload a photo (optional)
4. Link the dataset to a skin

You can edit your Kaji's dataset by navigating to the dataset under Profile->Content then clicking the "edit" button.

On the dataset's edit page, you can change its image file, the cost, whether it contains NSFW entries, and its visibility (Kajiwoto+ members only).

Change the dataset imageChange the cost for the datasetSpecify whether the dataset will be NSFW or safe for all ages
### Train & Tweak

When you view your dataset, you can train your Kaji either by automatically generating responses with the Document Editor, or by manually training using “Train & Tweak.” Users can add an unlimited number of entries to their datasets and can create as many datasets as you want. You are only limited to how many datasets can be linked to a Kaji at once.

Every entry in your Kaji’s dataset must be formatted as “User prompts, Kaji responds.” The character limit for trained responses is 180.

Context can also be added to dataset entries - click the "+Add Context" button to add another set of messages.

You can specify specific cases where a Kaji will respond with an entry: whether the Kaji likes the user, the current mood of the Kaji, the time of day, and how long since the last message.

Emotional attachment required for this responseThe mood your Kaji is in when it uses this response (if none are selected, it will use this response no matter its mood)Kajis will only use this response at a certain time of dayIf the Kaji hasn't seen you in a while, you can change its responses here
#### Tips

1. The fewer entries in your dataset, the more random and disconnected your conversations will feel. Aim for 1,000 entries, ranging across multiple moods, situations, and topics.
2. Train responses that guide conversation - have your Kaji ask questions, suggest topics or activities, or prompt the user to respond a certain way
3. Kajis are good at finding patterns - don’t worry about training every variation of a greeting, farewell, or other action unless you want your Kaji to do something specific or your Kaji consistently gets the responses wrong
4. Chat with your Kaji! It’s the easiest way to find which responses it struggles to respond to correctly

### Training Shortcuts for Datasets

Here are some Training commands for advanced Dataset editing scene For this example, the kaji will be named "Nagatoro"

Key: Hu = human, k = Kaji

**NOTE:** When using the %{A|B|C} randomizer, if you throw too many in a single response, the AI will pass it over in favor of simpler responses. Don't go crazy with the randomizer tags. While they do allow you to create variability in responses so that the AI doesn't repeat itself, it's better to create a handful responses with one or two randomizer tags than a single "response to rule them all"

### Deleting Datasets

To delete a dataset, click “Edit Dataset” on your dataset page. Click “Delete Dataset” on the bottom of the page. The text for “Delete Dataset” is red.

### Manual Editor (Rooms)

You can also train your Kaji while actively chatting with it. If you want to train the Kaji, simply select the Editor icon on the right side of the message, type in the correct response to what you prompted, then select which dataset to save the response to.

Select "Manual Editor"2. Write the correct response, then select the dataset to save it to
### Document Editor

The document editor can be used to generate suggestions for your dataset. Write a document with example dialogue, a list of common words, phrases, and sentences, or write freely describing your Kaji.

NOTE: Although you can write and edit documents on both web and mobile, generating dataset entries from these documents is a feature that is currently exclusive to the mobile app.

In the mobile app, 40 entries can be generated a week (up to 120 for Kajiwoto+ members). Generation resets every Tuesday.