Skip to main content
POST
/
api
/
auth
/
generate-prompt-preview
Generate Digital Twin instructions from Q&A
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"
}
'
{
  "success": true,
  "data": {
    "data": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
questions
object[]
required

Interview Q&A pairs

ainame
string

Name of the Digital Twin being created

Example:

"Dr. Smith"

Response

Generated instructions

success
boolean
data
object