gbserver/src/prompts/business/data-enrichment.bas

21 lines
1.1 KiB
QBasic
Raw Normal View History

2025-07-29 21:39:24 -03:00
let items = FIND "gb.rob", "ACTION=EMUL1"
2025-08-14 09:42:05 -03:00
FOR EACH item IN items
2025-07-29 21:39:24 -03:00
2025-07-20 15:01:18 -03:00
PRINT item.company
2025-07-30 23:26:06 -03:00
let website = WEBSITE OF item.company
PRINT website
2025-07-31 00:36:10 -03:00
2025-08-14 09:42:05 -03:00
let page = GET website
let prompt = "Build the same simulator, but for " + item.company + " using just *content about the company* from its website, so it is possible to create a good and useful emulator in the same langue as the content: " + page
2025-07-31 00:36:10 -03:00
let alias = LLM "Return a single word for " + item.company + " like a token, no spaces, no special characters, no numbers, no uppercase letters."
2025-08-14 09:42:05 -03:00
CREATE_SITE alias, "blank", prompt
let to = item.emailcto
2025-08-14 09:42:05 -03:00
let subject = "Simulador " + alias
let name = FIRST(item.Contact)
let body = "Oi, " + name + "! Tudo bem? Estou empolgado, pois criamos o simulador " + alias + " especificamente para vocês!" + "\n\n Acesse o site: https://sites.pragmatismo.com.br/" + alias + "\n\n" + "Para acessar o simulador, clique no link acima ou copie e cole no seu navegador." + "\n\n" + "Para iniciar, clique no ícone de Play." + "\n\n" + "Atenciosamente,\nDário Vieira\n\n"
2025-07-30 23:26:06 -03:00
CREATE_DRAFT to, subject, body
2025-08-14 09:42:05 -03:00
NEXT item