Knowledge
Attach knowledge source
Give a receptionist a source to answer from. Attaching one it already has changes nothing.
/v1/receptionists/{receptionist_id}/knowledge-sources/{source_id}Needs the knowledge:write scope.
Path parameters
receptionist_idstringrequiredsource_idstringrequiredReturns
What the receptionist now answers from. A failed call answers with an error instead.
knowledgeSourceIdsstring[]receptionistIdstringcurl -X PUT https://api.ringhouse.ai/v1/receptionists/{receptionist_id}/knowledge-sources/{source_id} \
-H "Authorization: Bearer rh_live_xxxxxxxx"{
"knowledgeSourceIds": [
"8c1d4e7a-5b2f-4a90-9e1c-3f7d2b6a1c08"
],
"receptionistId": "e41b09c2-77d3-4c5e-b0a8-9d2f61c4e3a7"
}Was this page helpful?