Sensei: LangChain

Sensei: LangChain · GPT-Aktionen

ChatChart

Converts plain text into a figure.

  • POST /v1/diagrampostDiagram

    Convert Plain Text to Figure with Kiroki.

Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "ChatChart",
    "version": "1.0.0",
    "description": "Converts plain text into a figure."
  },
  "servers": [
    {
      "url": "https://chat-chart.inu-ai.com"
    }
  ],
  "paths": {
    "/v1/diagram": {
      "post": {
        "operationId": "postDiagram",
        "x-openai-isConsequential": false,
        "description": "Convert Plain Text to Figure with Kiroki.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "diagram_source",
                  "diagram_type",
                  "diagram_keywords"
                ],
                "properties": {
                  "diagram_source": {
                    "description": "Text to be drawn in Kiroki.",
                    "type": "string"
                  },
                  "diagram_type": {
                    "description": "Types of diagrams that can be used with Kiroki. default is plantuml.",
                    "type": "string",
                    "enum": [
                      "actdiag",
                      "blockdiag",
                      "bpmn",
                      "bytefield",
                      "c4plantuml",
                      "d2",
                      "dbml",
                      "ditaa",
                      "dot",
                      "erd",
                      "excalidraw",
                      "graphviz",
                      "mermaid",
                      "nomnoml",
                      "nwdiag",
                      "packetdiag",
                      "pikchr",
                      "plantuml",
                      "rackdiag",
                      "seqdiag",
                      "structurizr",
                      "svgbob",
                      "symbolator",
                      "tikz",
                      "umlet",
                      "vega",
                      "vegalite",
                      "wavedrom",
                      "wireviz"
                    ]
                  },
                  "diagram_keywords": {
                    "description": "Keywords representing the diagram.",
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        60757,
                        "abstractgraphs",
                        "activity",
                        "additionalcomponents",
                        "angles",
                        "architecture",
                        "area",
                        "asciiart",
                        "bar",
                        "binary",
                        "blade",
                        "block",
                        "box",
                        "BPMI",
                        "bullet",
                        "bundles",
                        "business",
                        "byte",
                        "C4",
                        "cables",
                        "chaining",
                        "chart",
                        "chronologicalevents",
                        "circuit",
                        "class",
                        "Classes",
                        "code",
                        "color",
                        "colors",
                        "component",
                        "connectorpinouts",
                        "custom",
                        "daisy",
                        "database",
                        "dataviz",
                        "density",
                        "dependency",
                        "deployment",
                        "deps",
                        "diagram",
                        "digraph",
                        "directed",
                        "documentation",
                        "donut",
                        "dot",
                        "drawing",
                        "DSL",
                        "electric",
                        "ElectricalEngineering",
                        "ElectricEngineering",
                        "emojis",
                        "entity",
                        "ERD",
                        "ferrules",
                        "flowchart",
                        "forces",
                        "formula",
                        "frame",
                        "function",
                        "gantt",
                        "Geometry",
                        "graphicalinterface",
                        "grouped",
                        "GUI",
                        "hand-drawn",
                        "hardware",
                        "header",
                        "histogram",
                        "instance",
                        "joke",
                        "journey",
                        "JSON",
                        "LaTex",
                        "libraries",
                        "library",
                        "libs",
                        "line",
                        "linear",
                        "loadbalancer",
                        "management",
                        "Markdown",
                        "markup",
                        "math",
                        "Mathematics",
                        "Mecanics",
                        "memory",
                        "MindMaps",
                        "mockup",
                        "model",
                        "modeling",
                        "nested",
                        "netmask",
                        "network",
                        "Neuralnetworks",
                        "node",
                        "normalized",
                        "notation",
                        "nwdiag",
                        "object",
                        "OMG",
                        "Opticalillusion",
                        "package",
                        "packet",
                        "partnumbers",
                        "pie",
                        "pin",
                        "pinouts",
                        "plan",
                        "planing",
                        "plantUML",
                        "process",
                        "project",
                        "pyramid",
                        "quad",
                        "rack",
                        "radar",
                        "raw",
                        "regression",
                        "relation",
                        "resistors",
                        "router",
                        "salt",
                        "scales",
                        "scatter",
                        "schema",
                        "sequence",
                        "server",
                        "Shapes",
                        "shielding",
                        "signal",
                        "simpleschema",
                        "sketch",
                        "softwarearchitecture",
                        "SQL",
                        "squares",
                        "stacked",
                        "state",
                        "statemachine",
                        "subnet",
                        "swimlane",
                        "switch",
                        "technical",
                        "templates",
                        "TeX",
                        "Timelines",
                        "timing",
                        "tree",
                        "Trees",
                        "ugly",
                        "uml",
                        "UML",
                        "usecases",
                        "vector",
                        "wave",
                        "whiteboard",
                        "wireframe",
                        "wires",
                        "wireviz",
                        "wiring",
                        "word",
                        "WordCloud",
                        "WTF",
                        "xy",
                        "yaml",
                        "YAML"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK."
          }
        }
      }
    }
  }
}