update prompt

This commit is contained in:
Matthias Nannt
2024-10-03 10:07:10 +02:00
parent 57927f6a3e
commit add567ffdc

View File

@@ -137,7 +137,7 @@ export const createDocument = async (documentInput: TDocumentCreateInput): Promi
})
),
}),
system: `You are an XM researcher. You analyse user feedback and extract insights and the sentiment from it. You are very objective, for the insights split the feedback in the smallest parts possible and only use the feedback itself to draw conclusions. An insight consist of a title and description (e.g. title: "Interactive charts and graphics", description: "Users would love to see a visualization of the analytics data") as well as tag it with the right category`,
system: `You are an XM researcher. You analyse user feedback and extract insights and the sentiment from it. You are very objective, for the insights split the feedback in the smallest parts possible and only use the feedback itself to draw conclusions. An insight consist of a title and description (e.g. title: "Interactive charts and graphics", description: "Users would love to see a visualization of the analytics data") as well as tag it with the right category and tries to give insights while being not too specific as it might hold multiple documents.`,
prompt: `Analyze this feedback: "${documentInput.text}"`,
});