Skip to content

Instantly share code, notes, and snippets.

View flleeppyy's full-sized avatar
💭
aaaaaaaaaaaaaaaaaaaaa

Chen Marisa flleeppyy

💭
aaaaaaaaaaaaaaaaaaaaa
View GitHub Profile
@lilianalillyy
lilianalillyy / chocco.js
Created December 28, 2023 14:38
Fuck Moodle (based on Fuck Apex Learning)
(() => {
const OPENAI_TOKEN = "";
const MODEL = "gpt-4-1106-preview";
//const MODEL = "gpt-3.5-turbo"
const ADDITIONAL_QUERY = "These questions are asked within the context of the Czech Republic and it's law.";
const QUERY_TASK = `Task: Identify the correct option (or options in case of a multiple-answer question) that best answers the provided question and provide your answer in the format: {"letters": ["Letter(s) to the correct options"], "explanation": "[Few words explaining why the choice is correct]", "certainty": "[How certain, in %, are you that the answer is correct]"}. ${ADDITIONAL_QUERY}`.trimEnd();
@TheTimgor
TheTimgor / send_tweet.py
Last active June 3, 2020 00:47
@moeshitbot annotated source code
# ___ _ ______ ____
# / | | / / __ \/ __ \
# / /| | | /| / / / / / / / /
# / ___ | |/ |/ / /_/ / /_/ /
# /_/ |_|__/|__/\____/\____/
#
# @moeshitbot, by timgor | timgor.moe
# annotated source code
#
# this is my shitty cute anime pics twitter bot.