Home / File/ apispec.json — langchain Source File

apispec.json — langchain Source File

Architecture documentation for apispec.json, a json file in the langchain codebase.

Entity Profile

Source Code

{
   "openapi": "3.1.0",
   "info": {
      "title": "Wolfram",
      "version": "v0.1"
   },
   "servers": [
      {
         "url": "https://www.wolframalpha.com",
         "description": "Wolfram Server for ChatGPT"
      }
   ],
   "paths": {
      "/api/v1/cloud-plugin": {
         "get": {
            "operationId": "getWolframCloudResults",
            "externalDocs": "https://reference.wolfram.com/language/",
            "summary": "Evaluate Wolfram Language code",
            "responses": {
               "200": {
                  "description": "The result of the Wolfram Language evaluation",
                  "content": {
                     "text/plain": {}
                  }
               },
               "500": {
                  "description": "Wolfram Cloud was unable to generate a result"
               },
               "400": {
                  "description": "The request is missing the 'input' parameter"
               },
               "403": {
                  "description": "Unauthorized"
               },
               "503": {
                  "description": "Service temporarily unavailable. This may be the result of too many requests."
               }
            },
            "parameters": [
               {
                  "name": "input",
                  "in": "query",
                  "description": "the input expression",
                  "required": true,
                  "schema": {
                     "type": "string"
                  }
               }
            ]
         }
      },
      "/api/v1/llm-api": {
         "get": {
            "operationId": "getWolframAlphaResults",
            "externalDocs": "https://products.wolframalpha.com/api",
            "summary": "Get Wolfram|Alpha results",
            "responses": {
               "200": {
                  "description": "The result of the Wolfram|Alpha query",
                  "content": {
                     "text/plain": {}
                  }
               },
               "400": {
                  "description": "The request is missing the 'input' parameter"
               },
               "403": {
                  "description": "Unauthorized"
               },
               "500": {
                  "description": "Wolfram|Alpha was unable to generate a result"
               },
               "501": {
                  "description": "Wolfram|Alpha was unable to generate a result"
               },
               "503": {
                  "description": "Service temporarily unavailable. This may be the result of too many requests."
               }
            },
            "parameters": [
               {
                  "name": "input",
                  "in": "query",
                  "description": "the input",
                  "required": true,
                  "schema": {
                     "type": "string"
                  }
               }
            ]
         }
      }
   }
}

Frequently Asked Questions

What does apispec.json do?
apispec.json is a source file in the langchain codebase, written in json.
Where is apispec.json in the architecture?
apispec.json is located at libs/langchain/tests/unit_tests/examples/test_specs/wolframalpha/apispec.json (directory: libs/langchain/tests/unit_tests/examples/test_specs/wolframalpha).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free