Discords.com
  • Welcome
  • ⚛️Iridium Engine
    • 🎓Introduction
  • FypFans
    • 🎓Introduction
    • 🗣️Chat tools
  • 🤖Discords.com Bots
    • 🖨️Receiving webhooks
    • 🔢Updating server count
    • 🔢Getting bot's upvotes
Powered by GitBook
On this page
  • AI Generated response
  • Write a viable chat response based on specified parameters.
  • AI chatlog summarization
  • Create a shorthand/paragraph summarization of a conversation.
  1. FypFans

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

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
    }
}
PreviousIntroductionNextReceiving webhooks

Last updated 1 year ago

🗣️