2.1.0 configuration
If you are upgrading to version 2.0.0 or later from a previous version, add "/v2" to the host URL. See example in the full configuration below.
Things to remember:
1
2
3
4
5
6
Full Configuration
{
"host": "https://ai-eu-west-1.saas-prod.infomaker.io/v2",
"contextLimit": 2,
"encryptedKeyPhrase": "HhjiQuvUnNdeWjZ5K6F[^zxQ5^DwSTjo",
"widgets": [
"generic",
"headline",
"summary",
"genericheadline"
],
"widgetConfig": {
"genericheadline": {
"digital": {
"preText": "Suggest headlines for the article provided in XML tag. If the article has a strong local connection, reflect this in the headline.",
"creativity": 5,
"xPath": "drophead",
"checkBoxDefault": true,
"checkoBoxLabelName": "DIGI",
"providerAccessToken": "",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-v2:1"
},
"print": {
"preText": "Suggest headlines for the article provided in XML tag. If the article has a strong local connection, reflect this in the headline.",
"creativity": 5,
"checkBoxDefault": true,
"checkoBoxLabelName": "PR",
"providerAccessToken": "",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-v2:1"
}
},
"headline": {
"digital": {
"preText": "Suggest headlines for the article provided in XML tag. If the article has a strong local connection, reflect this in the headline.",
"creativity": 5,
"checkBoxDefault": true,
"checkoBoxLabelName": "DIGI",
"providerAccessToken": "",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-v2:1"
},
"print": {
"preText": "Suggest headlines for the article provided in XML tag. If the article has a strong local connection, reflect this in the headline.",
"creativity": 5,
"checkBoxDefault": true,
"checkoBoxLabelName": "PR",
"providerAccessToken": "",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-v2:1"
}
},
"summary": {
"digital": {
"preText": "Suggest summaries for the article provided in XML tag. Act as a news editor and your task is to suggest a click bait social media teaser for the article.",
"creativity": 5,
"checkoBoxLabelName": "DIGI",
"checkBoxDefault": true,
"providerAccessToken": "<chatGPT token goes here>",
"serviceProvider": "openai",
"modelId": "gpt-4-turbo"
},
"print": {
"preText": "Suggest summaries for the article provided in XML tag. Act as a news editor and your task is to suggest a summary for the article.",
"creativity": 5,
"checkBoxDefault": true,
"checkoBoxLabelName": "PRINT",
"providerAccessToken": "",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-v2:1"
}
},
"generic": {
"digital": {
"preText": "You are a News Editor of a News Firm and your task is to suggest headlines for the article provided in XML tag.\n\nPlease use professional tone while generating headlines.",
"creativity": 5,
"checkBoxDefault": true,
"checkoBoxLabelName": "DIGITAL",
"providerAccessToken": "<chatGPT token goes here>",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-instant-v1"
},
"print": {
"preText": "You are a News Editor of a News Firm and your task is to suggest headlines for the article provided in XML tag.\n\nPlease use professional tone while generating headlines.",
"creativity": 5,
"checkBoxDefault": false,
"providerAccessToken": "",
"checkoBoxLabelName": "PRINT",
"serviceProvider": "Bedrock",
"modelId": "anthropic.claude-instant-v1"
}
}
},
"saveWidget": true
}Was this helpful?