Update Dataset
Update dataset
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
datasetIdstring* Required
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
recordMaxTokensnumber
The total number of tokens to for each record
searchMinScorenumber
The minimum score to filter search results by
searchMaxRecordsnumber
The total number of records to return during search
searchMaxTokensnumber
The total number of tokens to use during search
matchInstructionstring
An instruction to include before found records
mismatchInstructionstring
An instruction to include if no records where found
separatorsstring
A list of separators to use when tokenizing text
visibilitystring
The dataset visibility
curl -X POST "https://api.chatbotkit.com/v1/dataset/{datasetId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","recordMaxTokens":"number","searchMinScore":"number","searchMaxRecords":"number","searchMaxTokens":"number","matchInstruction":"string","mismatchInstruction":"string","separators":"string",} EOF"visibility":"string"
{"id":"string"}