-
Notifications
You must be signed in to change notification settings - Fork 22
MMI-3387 Add AI report summary (#2541) #2545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @(section.Value.Data) | ||
| </div> | ||
| } | ||
| else if (section.Value.SectionType == ReportSectionType.AI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the new section required in the template to support AI summaries
app/editor/.eslintrc.json
Outdated
| @@ -0,0 +1,14 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New file to help configure eslint. I was seeing various errors.
| "babel-plugin-prismjs": "2.1.0", | ||
| "compression-webpack-plugin": "11.1.0", | ||
| "eslint": "8.36.0", | ||
| "eslint": "8.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The automatic generation of the config file resulted in this downgrade.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refer to the CustomReport.cshtml file to see changes.
596fa86 to
5d33f8f
Compare
Publish tno-core:1.0.32 Add DB migration 1.4.1 Fix linting
Publish tno-core:1.0.32 Add DB migration 1.4.1 Fix linting
We now have a way to include an AI Summary section in reports. This new feature uses Azure AI Foundry API.
Both the Editor and Subscriber applications now have a new AI section that can be added to a report. An administrator can choose the deployed AI model, temperature, system prompt and the user prompt. The content is added to the prompt and a summary can be generated. With this process we can ask AI to do almost anything.
Summary
Editor Report Admin
Subscriber Report Admin