# Custom data prompt

## 1. Use Assistant as a smart search engine

If you're not interested in modifying the output of custom data, you can utilize this assistant as a semantic search engine by using specific prompt-design keywords.

```
// Add your training data at training time like this in key-value format:
Name: John
Age: 38
CityName: New York
country_name: USA
```

#### Prompt Sample

> <mark style="color:purple;">You are a</mark> <mark style="color:purple;"></mark><mark style="color:purple;">**search engine**</mark><mark style="color:purple;">, create a list by</mark> <mark style="color:purple;"></mark><mark style="color:purple;">**Extracting name, age**</mark> <mark style="color:purple;"></mark><mark style="color:purple;">for query: {query}</mark>

If your prompt  includes keywords such as **search engine** then it behaves like a **semantic search engine**, and it will output exactly how your data was inserted

By default, it extracts all the columns from your data, but if you use keywords like **extract name age**, or **pull name age** then it extracts only those columns.

#### These keywords in the prompt force this assistant to extract only selected columns

```
    "extract",
    "extracting",
    "grab",
    "grabbing",
    "get",
    "getting",
    "pull",
    "pulling",
    "need",
    "needing",
    "retrieve",
    "retrieving",
    "fetch",
    "fetching",
    "obtain",
    "obtaining",
    "acquire",
    "acquiring"
```

## 2. Use Assistant as ChatGPT like a smart assistant&#x20;

If you want to use this custom assistant as a ChatGPT assistant then design your prompt like this,&#x20;

don't you keyword Search engine, otherwise it will bypass this assistant-like behavior and just pass your data.&#x20;

Prompt to create BIO from your custom data

<div align="center"><figure><img src="/files/aU0NeGJpe2oymPQ00zxL" alt=""><figcaption><p>This prompt make your assistant act as BIO writer for given name from your custom data</p></figcaption></figure></div>

<figure><img src="/files/Aectrtrb2V6fkeJ0KNNS" alt=""><figcaption><p>This prompt make your assistant an answering machine for your custom data</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.mureed.ai/getting-started/product-guide/custom-data-prompt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
