Skip to content

Commit

Permalink
adding new prompt and new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusviniciusLsantos committed Oct 4, 2024
1 parent 1f6b86e commit 2c7b01a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ export default {
.map((e) => this.handleDynamicParam(e))
.join(', ');
const prompt = this.$t('insights_header.generate_insight.prompt', {
const prompt = `${this.$t('insights_header.generate_insight.prompt', {
values: dynamicParams,
});
})} ${this.$t('insights_header.generate_insight.prompt_language')}`;
await this.$store.dispatch('gpt/getInsights', { prompt });
Expand Down Expand Up @@ -283,7 +283,7 @@ export default {
padding: $unnnic-spacing-md;
width: 32vw;
height: 55vh;
height: 75vh;
display: grid;
grid-template-rows: auto 1fr auto;
Expand Down Expand Up @@ -352,6 +352,7 @@ export default {
rgba(59, 65, 77, 0) 91.82%
);
pointer-events: none;
border-radius: $unnnic-border-radius-sm;
}
}
</style>
5 changes: 5 additions & 0 deletions src/locales/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,11 @@
"pt-br": "Analise o desempenho de um dashboard de resultados de uma operação de atendimento humano. O dashboard exibe três categorias principais: atendimentos em andamento, encerrados e aguardando. Além disso, avalie as seguintes métricas: tempo de primeira resposta, tempo de espera e tempo de interação. Identifique padrões de eficiência, possíveis gargalos no fluxo de atendimento e ofereça sugestões para otimizar o tempo de resposta e a produtividade da equipe. Dados: {values}",
"en": "Analyze the performance of a human service operation's results dashboard. The dashboard displays three main categories: calls in progress, closed and waiting. In addition, evaluate the following metrics: first response time, waiting time and interaction time. Identify efficiency patterns, possible bottlenecks in the service flow and offer suggestions for optimizing response time and team productivity. Data: {values}",
"es": "Analice el rendimiento del cuadro de mando de resultados de una operación de servicios humanos. El cuadro de mandos muestra tres categorías principales: llamadas en curso, cerradas y en espera. Además, evalúa las siguientes métricas: tiempo de primera respuesta, tiempo de espera y tiempo de interacción. Identifique patrones de eficiencia, posibles cuellos de botella en el flujo de servicio y ofrezca sugerencias para optimizar los tiempos de respuesta y la productividad del equipo. Datos: {values}"
},
"prompt_language": {
"pt-br": "Retorne em Português brasileiro",
"en": "Return in English",
"es": "Regreso en español"
}
}
},
Expand Down

0 comments on commit 2c7b01a

Please sign in to comment.