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
const SECRET_KEY = "YOUR API KEY"; | |
const MAX_TOKENS = 3000; | |
const TEMPERATURE = 0.9; | |
function EMAILALUNO(aluno, nota) { | |
const url = "https://api.openai.com/v1/chat/completions"; | |
const payload = { | |
model: 'gpt-3.5-turbo', | |
messages: [ | |
{ role: "system", content: "Crie um parágrafo de incentivo para um aluno que recebeu uma nota na prova. Vou passar o nome do aluno e a nota." }, |
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
*, *::before, *::after { | |
box-sizing: border-box; | |
} | |
* { | |
padding: 0; | |
margin: 0; | |
line-height: calc(1em + 0.5rem); | |
} |