> For the complete documentation index, see [llms.txt](https://docs.conva.ai/slang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.conva.ai/slang/advanced-topics/customizing-the-assistant/customizing-subdomain-data/customizing-retail-subdomain-data.md).

# Customizing Retail Subdomain Data

## Retail Domain Data

For each subdomain in the retail domain users can upload the following data files:

* SKU data
* Filters data
* Synonyms data
* Language data

Additionally in ‘custom/miscellaneous’ the following data can be added

* Navigation targets data

### SKU data:&#x20;

CSV Structure:

| SKU ID | SKU Name | Product Type | Brand | Category | Sub Category |
| ------ | -------- | ------------ | ----- | -------- | ------------ |

* Search will function on the SKU Name, Product Type and Brand
* If the SKU ID is provided then upon search all SKU IDs which contains the SKU name, product type and brand will be provided
* If there are certain tokens (part of words) such as ‘Cadbury’ in SKU name ‘Cadbury Oreo cookies’ and the brand provided is also ‘Cadbury,’ then ‘Cadbury’ will be returned as brand only.

### Synonyms data:

CSV Structure:

| Key | Synonym | Type |
| --- | ------- | ---- |

* Slang’s backend will use the synonyms to recognize different variations of the same key. During inference if an end user speaks the synonym, Slang’s client api response data structure will return the key. For example if a synonym of ‘potato’  is ‘aloo’, then if the end user speaks ‘aloo’, it will be recognized and the return value will be ‘potato’
* The same file can be used to add synonyms for elements in the filter data or the SKU data file. The ‘type’ is to be used here can be one of:
  * sku\_name
  * product\_type
  * brand
  * category
  * sub\_category
  * filter name
  * filter\_value

### Filters Data:

CSV Structure:

| Filter Name | Filter Value | Category |
| ----------- | ------------ | -------- |

Filter data corresponds to the type of filters that can be applied on a list of products in an ecommerce app. Examples could be a filter to apply on food products: ‘Allergen info.’ The filter name would be ‘allergen info’ and the values could be ‘lactose free,’ or ‘contains milk’.

If a filter value is the same as a token available in brands or sku name in the sku data, the filter value would be given preference.

The filter name will also be used in sentences such as, ‘Remove allergen info filter.’

### Language Data:

CSV Structure:

| Key | Translation | Language | Type |
| --- | ----------- | -------- | ---- |

Language data provided here would be used to augment the existing translation and speech-to-text models of CONVA.

The key is the English language version of the word while the Translation column is for the corresponding word in the alternate language. The language column is to specify which language the translation is in, ‘Type’ column is to specify which type this row belongs to. The types list is the same as that mentioned for the ‘Synonyms Data’ above.

To help augment the speech recognition of CONVA in English language, add the English word in the key column, language ‘en-IN’ to the language column and leave the translation column blank.

### Navigation data:

CSV Structure:

| Target | URL |
| ------ | --- |

Navigation data provided here would be used to augment the list of possible targets for in-app navigation. Suppose, a navigation target within an app is the ‘cart.’ By adding ‘cart’ to the navigation targets, sentences such as ‘Take me to cart’, will be supported.

In addition to the targets, a developer may provide corresponding URLs for the targets. The assistant will return these URLs in the response.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.conva.ai/slang/advanced-topics/customizing-the-assistant/customizing-subdomain-data/customizing-retail-subdomain-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
