Takes interview question/answer pairs and generates AI-powered persona instructions
for a Digital Twin being created. Used during the creation wizard before the
institution exists. Requires JWT authentication.
POST
/
api
/
auth
/
generate-prompt-preview
Generate Digital Twin instructions from Q&A
Copy
curl --request POST \
--url https://pria.praxislxp.com/api/auth/generate-prompt-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"questions": [
{
"question": "What is your area of expertise?",
"answer": "Machine learning and neural networks",
"code": "EXPERTISE",
"objectif": "<string>"
}
],
"ainame": "Dr. Smith"
}
'