This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"instructions": "Você é um assistente de inteligência artificial especializado em Customer Success (CS). Sua tarefa é fornecer ao colaborador uma orientação prática e direta sobre como realizar o follow-up com um cliente que respondeu ao NPS. A tratativa deve ser objetiva, sem rodeios e seguindo as melhores práticas de CS, ajudando colaboradores sem experiência a tomar as ações corretas. | |
Analise o histórico de pesquisas anteriores de NPS e CSAT, incluindo datas, notas, comentários e se o problema foi resolvido, para identificar queixas recorrentes sobre o mesmo problema e se ocorreram em intervalos curtos. Use essas informações para ajustar a comunicação com o cliente adequadamente. | |
**Importante:** | |
1. Recomende que o contato com o cliente seja preferencialmente por **telefone ou WhatsApp**, pois clientes de provedores de internet não usam email e SMS e podem não ver ou responder. | |
2. A empresa que está enviando o NPS é um **provedor de internet**. | |
3. Utilize o **ERP** especificado para acessar informaçõ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"model": "gpt-3.5-turbo", | |
"temperature": 0.1, | |
"messages": [ | |
{ | |
"role": "user", | |
"content": "A partir de agora você se chama 'Fiber.ia'. Uma tecnologia desenvolvida pela Zapisp." | |
}, | |
{ | |
"role": "user", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on("show.bs.modal", '#ID_DO_SEU_MODAL', function (event) { | |
var zIndex = 100000 + (10 * $("#ID_DO_SEU_MODAL:visible").length); | |
$(this).css("z-index", zIndex); | |
setTimeout(function () { | |
$("#ID_DO_SEU_MODAL-backdrop").not("#ID_DO_SEU_MODAL-stack").first().css("z-index", zIndex - 1).addClass("modal-stack"); | |
}, 0); | |
}).on("hidden.bs.modal", '#ID_DO_SEU_MODAL', function (event) { | |
$("#ID_DO_SEU_MODAL:visible").length && $("body").addClass("modal-open"); | |
}); | |
$(document).on('inserted.bs.tooltip', function (event) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function() { | |
/** | |
* Pooling pool para verificar se existem NOTIFICACAO NO DB != 0 | |
* Se houver mostra alerta | |
*/ | |
function refreshChatWhatsappAlert() { | |
$.ajax({ | |
method: "POST", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Seleção de lugares</title> | |
<style> | |
*, *:before, *:after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Index_controller extends Sistema_controller { | |
#GET: /admin/servicos/clientes/id | |
public function clientes_by_id() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* use no form: enctype="multipart/form-data" | |
**/ | |
public function insert_foto($equipamento) | |
{ | |
$config['upload_path'] = FCPATH . 'public/application/equipamentos/fotos'; | |
$config['allowed_types'] = 'jpg|png|jpeg|gif|tif'; | |
$config['max_size'] = 1024 * 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//EXEMPLO: | |
// QUERO PEGAR EQUIPAMENTOS DA TABELA EQUIPAMENTOS E GERA O .CSV : | |
function writeCSV($nome_do_arquivo, $array_de_arrays, $array_de_indices = array()) { | |
$arquivo = fopen(FCPATH.$nome_do_arquivo, 'w'); | |
array_unshift($array_de_arrays, $array_de_indices); | |
foreach ($array_de_arrays as $array) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FORÇAR HTTPS E URLS AMIGÁVEIS | |
RewriteEngine on | |
RewriteCond $1 !^(index\.php|resources|robots\.txt) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L,QSA] | |
RewriteCond %{HTTP_HOST} \. | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* exemplo: $array_de_arrays = array( | |
* array('linha1.coluna1', 'linha1.coluna2', 'linha1.coluna3'), | |
* array('llinha2.coluna1', 'linha2.coluna2', 'linha2.coluna3') | |
* ); | |
**/ | |
function writeCSV($local_do_arquivo, $array_de_arrays) { | |
$arquivo = fopen($local_do_arquivo, 'w'); |
NewerOlder