TL;DR

Vand ID: vand-424efeda-e739-4150-a034-5c66876e7ab5

Learn how to easily use the TL;DR tool with the OpenAI API.

⏳ TL;DR ⏐ 👉🏽 /tldr to summarize text or a webpage 👉🏽 /sentiment for a tl;dr sentiment analysis ❓/instructions for help.

OpenAI function calls:

{
  "name": "summarizeText",
  "description": "Summarize the provided text or URL",
  "parameters": {
    "type": "object",
    "properties": {
      "text": {
        "type": "string",
        "description": "The text to summarize."
      },
      "url": {
        "type": "string",
        "description": "The URL to fetch and summarize."
      }
    },
    "required": []
  }
}
{
  "name": "getInstructions",
  "description": "Provides instructions for available commands",
  "parameters": {
    "type": "object",
    "properties": {},
    "required": []
  }
}
{
  "name": "analyzeSentiment",
  "description": "Performs sentiment analysis on the given text",
  "parameters": {
    "type": "object",
    "properties": {
      "text": {
        "type": "string",
        "description": "The text for sentiment analysis."
      }
    },
    "required": [
      "text"
    ]
  }
}

Auth Type

none

Servers

https://tldr.adielaine.repl.co

OpenAPI:

{
  "openapi": "3.0.1",
  "info": {
    "title": "TLDR Tool",
    "description": "A tool that summarizes text, providing a concise and informative summary.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://tldr.adielaine.repl.co"
    }
  ],
  "paths": {
    "/tldr": {
      "post": {
        "operationId": "summarizeText",
        "summary": "Summarize the provided text or URL",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "description": "The text to summarize."
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "The URL to fetch and summarize."
                  }
                },
                "oneOf": [
                  {
                    "required": [
                      "text"
                    ]
                  },
                  {
                    "required": [
                      "url"
                    ]
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "summary": {
                      "type": "string",
                      "description": "The summarized text."
                    },
                    "keywords": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Keywords extracted from the text."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/instructions": {
      "get": {
        "operationId": "getInstructions",
        "summary": "Provides instructions for available commands",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "instructions": {
                      "type": "object",
                      "description": "Details of available commands."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/sentiment": {
      "post": {
        "operationId": "analyzeSentiment",
        "summary": "Performs sentiment analysis on the given text",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "text"
                ],
                "properties": {
                  "text": {
                    "type": "string",
                    "description": "The text for sentiment analysis."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "sentiment_scores": {
                      "type": "object",
                      "description": "Scores indicating the sentiment of the text."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}