Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mounesh301 authored Nov 22, 2024
1 parent 326afbb commit af78749
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,6 @@ async function summarize() {
- Highlight connections with other services that might have impacted the problematic services.
- Provide specific recommendations based on the current data provided.
**Important:** Ensure that all incident counts are rounded up to the nearest whole number before presenting them.
Include both incident data and network data in your analysis.
Present the information concisely using bullet points under each section. Ensure that the summary is directly based on the data provided and is actionable.`;
Expand Down Expand Up @@ -620,11 +618,7 @@ async function answerQuestion() {
const system = `As an expert analyst in financial application's incident management,
answer the user's question based on the data provided.
Provide examples from both the incident data and network data to support your answer.
Present the information concisely and ensure that the answer is directly based on the data provided and is actionable.
**Important:** Ensure that all incident counts are rounded up to the nearest whole number before presenting them.
`;
Present the information concisely and ensure that the answer is directly based on the data provided and is actionable.`;

// Prepare the message with user's question and data summary
let message = `User Question:\n${userQuestion}\n\nData Summary:\n`;
Expand Down

0 comments on commit af78749

Please sign in to comment.