🗣️Chat tools
AI Generated response
Write a viable chat response based on specified parameters.
POST *Project_URL*/respond
Request Body
Name
Type
Description
convo*
Object
Conversation's parsed Object
content*
String Enum
Content the mesage should convey ("yes"/"no")
Some parameters expected in the request are missing
{ message: "bad_request_missing", data: {} }Some parameters were expected in a different format (details provided in response body)
{
message: "bad_request_incorrect_format",
data: {
convo: "'convo' expected JSON"
}
}The server encountered an unknown issue while processing the request
{ message: "internal_processing_error", data: {} }Operation executed successfully
{
message: "success",
data: {
content: "Example response content",
collection_id: "RESP-a76xhs19Z2",
db_exception: false
}
}AI chatlog summarization
Create a shorthand/paragraph summarization of a conversation.
POST *Project_URL*/summarize
Request Body
Name
Type
Description
convo*
Object
Conversation's parsed Object
mode*
String Enum
"both" / "paragraph" / "shorthand"
The server encountered an unknown issue while processing the request
{ message: "internal_processing_error", data: {} }Some parameters were expected in a different format (details provided in response body)
{
message: "bad_request_incorrect_format",
data: {
convo: "'convo' expected JSON"
}
}Some parameters expected in the request are missing
{ message: "bad_request_missing", data: {} }{
message: "success",
data: {
content: {
"paragraph": "You and UserName both like cheeseburgers. UserName said that he likes McDonald's more than Wendy's.",
"shorthand": "UserName likes Wendy's over McDonal's and likes cheeseburgers."
},
collection_id: "SUM-a76xhs19Z2",
db_exception: false
}
}Last updated