Add Function
Request
curl --location --request POST 'https://publicapi.xenioo.com/llm/function' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'
--data-raw '{
"Name":"<FUNCTION NAME>" ,
"Instructions":"<FUNCTION INSTRUCTION>" ,
"Parameters":[
"Name":"<PARAMETER NAME>",
"Type":"<PARAMETER TYPE>",
"Description":"<PARAMETER DESCRIPTION>",
"Required":"<PARAMETER REQUIRED>",
],
"BehaviourName":"<BEHAVIOUR NAME>" ,
"InteractionName":"<INTERACTION NAME>" ,
"Enabled":"<FUNCTION ENABLED>" ,
}'Response
Response Codes
Last updated
Was this helpful?