Custom data prompt

To make the most out of your assistant's output, it is important to carefully read through this guide on custom data prompts. Prompts are specifically designed to help you control the data output.

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

You are a search engine, create a list by Extracting name, age for query: {query}

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

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

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

Prompt to create BIO from your custom data

Last updated