Configuration

These are the configurations that are used in the Wingman plugin.

{
    "id": "io.infomaker.wingman",
    "name": "im-wingman",
    "style": "https://plugins.writer.infomaker.io/v1/infomaker/im-wingman/1.0.0/style.css",
    "url": "https://plugins.writer.infomaker.io/v1/infomaker/im-wingman/1.0.0/index.js",
    "mandatory": false,
    "enabled": true,
    "data": {
    "host": "https://ai-eu-west-1.saas-stage.infomaker.io",
    "contextLimit": 2,
    "widgets": [
        "headline",
        "summary"
    ],
    "widgetConfig": {
        "headline": {
            "digital": {
                "preText": "Generate a headline",
                "creativity": 5,
                "headlineCount": 2,
                "digitalHeadlineWordCount": 16,
                "language": "en",
                "checkBoxDefault": false
            },
            "print": {
                "preText": "Generate a headline",
                "creativity": 5,
                "headlineCount": 2,
                "printHeadlineWordCount": 12,
                "language": "en",
                "checkBoxDefault": false
            }
        },
        "summary": {
            "digital": {
                "preText": "Generate a summary",
                "creativity": 5,
                "summaryCount": 2,
                "language": "en",
                "digitalSummaryWordCount": 10,
                "checkBoxDefault": false
            },
            "print": {
                "preText": "Generate a summary",
                "creativity": 5,
                "summaryCount": 2,
                "language": "en",
                "printSummaryWordCount": 40,
                "checkBoxDefault": false
            }
        }
    }
}

Configuration Details:

"data": {
    "host": "https://ai-eu-west-1.saas-stage.infomaker.io",
    "contextLimit": 2,
    "widgets": [
        "headline",
        "summary"
    ],

contextLimit : Max. limit of context tags that can be sent in the prompt. widgets : Widgets that should be enabled in Wingman plugin

 "widgetConfig": {
        "headline": {
            "digital": {
                "preText": "Generate a headline",
                "creativity": 5,
                "headlineCount": 2,
                "digitalHeadlineWordCount": 16,
                "language": "en",
                "checkBoxDefault": false
            },
            "print": {
                "preText": "Generate a headline",
                "creativity": 5,
                "headlineCount": 2,
                "printHeadlineWordCount": 12,
                "language": "en",
                "checkBoxDefault": false
            }
        },

PreText : This is the field where the user will send the custom prompt to generate the headline. *Note: In case of AWS Bedrock it is recommended to end your custom prompt with these words - ‘in the XML tag’

creativity : This determines the temperature, between 1-5, which defines randomness in result. 1 being least to 5 being highest. headlineCount : The total headline results to generate. digitalHeadlineWordCount : The headline result word count (approx.) to generate for digital headline printHeadlineWordCount : The headline result word count (approx.) to generate for print headline language : Result language code displayCount : Display the number of results before show more button "checkBoxDefault": false : By default check box should be checked or not

 "summary": {
            "digital": {
                "preText": "Generate a summary",
                "creativity": 5,
                "summaryCount": 2,
                "language": "en",
                "digitalSummaryWordCount": 10,
                "checkBoxDefault": false
            },
            "print": {
                "preText": "Generate a summary",
                "creativity": 5,
                "summaryCount": 2,
                "language": "en",
                "printSummaryWordCount": 40,
                "checkBoxDefault": false
            }

PreText : This is the field where the user will send the custom prompt to generate the summary. *Note: In case of AWS Bedrock it is recommended to end your custom prompt with these words - ‘in the XML tag’

creativity : This determines the temperature, between 1-5, which defines randomness in result. 1 being least to 5 being highest. summaryCount : The total summary results to generate

digitalSummaryWordCount : The summary result word count (approx.) to generate for digital summary printSummaryWordCount : The summary result word count (approx.) to generate for print summary displayCount : Display the number of results before show more button "checkBoxDefault": false : By default check box should be checked or not

Last updated