Wisdom Extractor

Wisdom Extractor · GPT-Aktionen

Relevance AI Tools

  • POST /studios/df63b409-0a81-449a-b110-f52d0fd3a484/trigger_llm_friendlySearch Tool

    Search the internet for the latest information about a topic

  • POST /studios/b6c6b012-8259-46d5-9d4f-daa115b73901/trigger_llm_friendlyDig Deeper

    Scrape website content via url, do NOT make up urls

Ursprüngliches API-Schema
{
  "info": {
    "title": "Relevance AI Tools",
    "version": "latest"
  },
  "paths": {
    "/studios/df63b409-0a81-449a-b110-f52d0fd3a484/trigger_llm_friendly": {
      "post": {
        "operationId": "Search_tool",
        "summary": "Search Tool",
        "description": "Search the internet for the latest information about a topic",
        "security": [
          {
            "AuthorizationHeader": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/df63b409-0a81-449a-b110-f52d0fd3a484RequestBodySchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/studios/b6c6b012-8259-46d5-9d4f-daa115b73901/trigger_llm_friendly": {
      "post": {
        "operationId": "Dig_deeper",
        "summary": "Dig Deeper",
        "description": "Scrape website content via url, do NOT make up urls",
        "security": [
          {
            "AuthorizationHeader": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/b6c6b012-8259-46d5-9d4f-daa115b73901RequestBodySchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "openapi": "3.1.0",
  "servers": [
    {
      "url": "https://agents.relevance.ai/d7b62b/latest"
    }
  ],
  "components": {
    "schemas": {
      "df63b409-0a81-449a-b110-f52d0fd3a484RequestBodySchema": {
        "properties": {
          "search_query": {
            "type": "string",
            "title": "Google search query",
            "description": "A really high quality google search prompt",
            "frontend_metadata": {
              "required": true
            },
            "order": 0
          }
        },
        "required": [
          "search_query"
        ],
        "type": "object"
      },
      "b6c6b012-8259-46d5-9d4f-daa115b73901RequestBodySchema": {
        "properties": {
          "url": {
            "type": "string",
            "title": "Website url",
            "description": "url of website that needs to be scraped;",
            "frontend_metadata": {
              "required": true
            },
            "order": 0
          },
          "objective_of_scraping": {
            "type": "string",
            "metadata": {
              "content_type": "long_text"
            },
            "frontend_metadata": {
              "required": true
            },
            "order": 1,
            "title": "objective_of_scraping",
            "description": "what is the main objective of this website scraping? what are the main data points we want to extract?"
          }
        },
        "required": [
          "url",
          "objective_of_scraping"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "AuthorizationHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Authorization credentials. Header authorization should be in the form of: project:api_key"
      }
    }
  },
  "security": [
    {
      "AuthorizationHeader": [
        "Authorization"
      ]
    }
  ]
}