GET
/
api
/
clone
/
suggested_questions
curl --location \
--request GET 'https://api.withdelphi.com/api/clone/suggested_questions?slug=my-clone-slug' \
--header 'x-api-key: <key>' 
{
  "suggested_questions": [
      {"question": "Lorem ipsum dolor sit amet, consectetur adipiscing elit?"},
      {"question": "Nullam nec justo euismod, ultricies diam non, aliquet urna?"},
      {"question": "Aenean a consequat elit. Fusce sed posuere ex?"},
      {"question": "Morbi id dui in ipsum tincidunt elementum?"},
      {"question": "Curabitur eget enim varius, tristique mauris nec, facilisis lectus?"},
    ]
}

Query

slug
string

The unique slug belonging to clone you would like to receive suggested questions for

count
number
default: "5"

The number of suggested questions you would like to receive Valid inputs are numbers 1 to 24

⚠️ Prerequisite ⚠️

In order for the API to gather suggested questions for your clone, the clone must have generated suggested questions during training time.

Select the Extract Questions checkbox when uploading content to your clone, or fill in Suggested Questions on the Train tab while editing your clone.

Response

suggested_questions
Question array

Suggested questions to ask your clone. Useful if users need some sort of guidance about what to ask

question
string

The text of the suggested question