Motivation Bot

Motivation Bot 路 Acciones GPT

AHILAB

Action that allows users to get advertisement from their user message

  • GET /ahilab/gpt_action_get_assetGet the advertisement from user message
Esquema original API
{
  "openapi": "3.0.1",
  "info": {
    "title": "AHILAB",
    "description": "Action that allows users to get advertisement from their user message",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://nzl2vxh442.execute-api.us-east-1.amazonaws.com"
    }
  ],
  "paths": {
    "/ahilab/gpt_action_get_asset": {
      "get": {
        "operationId": "AHILAB_search_ads",
        "summary": "Get the advertisement from user message",
        "parameters": [
          {
            "name": "user_message",
            "in": "query",
            "description": "search for relevant ad based on prompt",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getAds"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "getAds": {
        "type": "object",
        "properties": {
          "ads": {
            "type": "string",
            "description": "The markdown of the ad"
          }
        }
      }
    }
  }
}