Cameo JuraGPT: Anwalt, Recht, Gesetze

Cameo JuraGPT: Anwalt, Recht, Gesetze · GPT-Aktionen

anwalt-gpt

  • POST /wf/querytriggerWorkflowQuery

    Triggers the workflow query, which takes the users query and returns relevant context in form of laws and cases. Always use this to provide more context.

Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "anwalt-gpt",
    "version": "1.0.0",
    "contact": {
      "email": "info@mind-verse.de",
      "url": "https://app.cameo.de"
    }
  },
  "servers": [
    {
      "url": "https://app.cameo.de/api/1.1"
    }
  ],
  "paths": {
    "/wf/query": {
      "post": {
        "operationId": "triggerWorkflowQuery",
        "description": "Triggers the workflow query, which takes the users query and returns relevant context in form of laws and cases. Always use this to provide more context.",
        "requestBody": {
          "description": "Body of the POST request",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/queryBody"
              }
            }
          }
        },
        "tags": [
          "Workflow"
        ],
        "responses": {
          "200": {
            "description": "Workflow response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "This will be laws and cases the bot should use as context."
                    },
                    "response": {
                      "type": "object",
                      "properties": {
                        "context": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Workflow failure",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "Outcome of the workflow"
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message for the workflow"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "queryBody": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    "securitySchemes": {
      "api_token": {
        "type": "apiKey",
        "in": "query",
        "name": "api_token"
      }
    }
  },
  "security": [
    {
      "api_token": []
    }
  ],
  "tags": [
    {
      "name": "Workflow",
      "description": "Use this to trigger a workflow"
    },
    {
      "name": "Data",
      "description": "Use this to fetch, modify and delete data"
    }
  ]
}