Documentation Index

Fetch the complete documentation index at: https://kb.ctera.com/llms.txt

Use this file to discover all available pages before exploring further.

Schemas

Prev Next

Schemas determine the classification of information.

To add a schema:
After signing in, the Dashboard page is displayed.
Image

  1. Click Schemas in the navigation pane.
    Image

  2. Click New Schema.
    Image

  3. Enter the schema details:
    Name – A name to identify the schema.
    Format – The format for this schema:

    • Schema – The schema is general.
    • Keywords – The schema is based on keywords.
    • Summary – The schema will be used for creating summaries, such as for meetings.
    • FAQ – The schema will be used for FAQs.

    Type – Use an LLM or Regex when the rules will not be static.
    Global – Slide on if you want the schema to be run on every dataset.
    Schema Status – The current status of the schema, Enabled or Disabled.
    Schema Definition – Enter the instruction about how to perform classification in one of the following formats:

    • Text
    • JSON
    • YAML
  4. Click Save Changes.

  5. Repeat for other sources you want to add.

Image

Example Schema Definitions

The followin schema definitions are examples in JSON format.

Schema

{
        "doctor_name": {
                "type": "string",
                "description": "Full name of the doctor who authored or signed the report"
        },
        "examination_date": {
                "type": "string",
                "format": "date",
                "description": "Date when the medical examination was conducted or reported, in ISO 8601 format (YYYY-MM-DD)"
        },
        "examination_type": {
                "type": "string",
                "description": "Type or name of the medical examination (e.g., Blood Test, MRI Scan, Kidney Function Test)"
        },
        "short_summary": {
                "type": "string",
                "description": "A concise textual summary of the examination findings and context"
        }
}

Keywords

{
        "keywords": {
                "type": "array",
                "items": {
                        "type": "string"
                },
                "description": "extract keywords from file."
        }
}

Summary

{
        "shortsummary": {
                "type": "string",
                "description": "A one-line summary of the document"
        }
}

FAQ

{
        "faq": {
                "type": "array",
                "items": {
                        "type": "object",
                        "properties": {
                                "question": {
                                        "type": "string",
                                        "description": "A key question that this document answers"
                                },
                                "answer": {
                                        "type": "string",
                                        "description": "The answer to this question based on the document content"
                                }
                        },
                        "required": [
                                "question",
                                "answer"
                        ]
                },
                "description": "Extract 3-5 frequently asked questions and their answers from this document"
        }
}

Editing a Schema

To edit a schema:

  1. Click Schemas in the navigation pane.
    Image
  2. Click the schema to edit.
    Image
  3. Make the changes as required.
  4. Click Save Changes.