🗣️Chat tools

AI Generated response

Write a viable chat response based on specified parameters.

POST *Project_URL*/respond

Request Body

NameTypeDescription

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: {} }
Example request
{
  "convo": {
    "messages": [
      {
        "author": "mastro123",
        "content": "Hey, I saw that you also like turtles, do you think you will ever make a video about your turtles?"
      },
      {
        "author": "me",
        "content": "Hi! Yeah, I'd definitely be down!"
      },
      {
        "author": "me",
        "content": "I have never actually met anyone who also likes turtles the same way I do haha"
      },
      {
        "author": "mastro123",
        "content": "No way, I thought more people liked them"
      },
      {
        "author": "me",
        "content": "I may just have been really unlucky lol"
      },
      {
        "author": "mastro123",
        "content": "Are you also planning to make a video about surfing? I think it'd be pretty entertaining!."
      }
    ]
  },
  "content": "yes"
}

AI chatlog summarization

Create a shorthand/paragraph summarization of a conversation.

POST *Project_URL*/summarize

Request Body

NameTypeDescription

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: {} }

Last updated