curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/questions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"questions": [
"How do I reset my password?",
"What's the process for password recovery?"
],
"answer": "To reset your password, click on the \"Forgot Password\" link on the login page..."
}
EOF{}curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/questions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"questions": [
"How do I reset my password?",
"What's the process for password recovery?"
],
"answer": "To reset your password, click on the \"Forgot Password\" link on the login page..."
}
EOF{}Array of question variations (max 250 chars each).
250[
"How do I reset my password?",
"What's the process for password recovery?"
]Answer to the questions.
5000"To reset your password, click on the \"Forgot Password\" link on the login page..."
Q&A source queued for processing.
The response is of type object.
Was this page helpful?