knowledge-base
Update FAQ
Changed onUpdate an FAQ's question and answer (regenerates embedding)
patch/knowledge-base/faq/{context_id}
Request
- Base URLhttps://api.periskope.app/v1
- URLhttps://api.periskope.app/v1/knowledge-base/faq/{context_id}
- AuthHTTP bearer
Path parameters
context_idstring required
The context ID of the FAQ to update
Example:ai-context-aaauajhjdgjnomr
Request body
Example request
[
{
"question": "How do I connect my WhatsApp account?",
"answer": "You can connect your WhatsApp account by scanning the QR code in the Settings page.",
"embedding": [
-0.020637017,
-0.0148050785,
0.02985098,
0.023778915,
"..."
],
"is_active": true
}
]Response
200 OK
Changes
- info
added the new optional request property
/
- info