Skip to content

cool-tien/coding-problem-generator

Repository files navigation

Demo

https://t.me/coding_problem_generator_bot

Introduction

This program used "GPT-3.5" and "TelegramBot" API to simulate LeetCode generate coding problem and provide tips and solution (specify programming language).

  • Need to provide "OpenAI API KEY" and "TelegramBot TOKEN" in "config.json" file for run this program.
  • Split the "generate", "tips", and "solution" template content in the template folder (for GPT role of system or user).

Command of Telegram Bot

  • The generate coding problem command structure: "/difficult_tag#human_language".
  • The tips of problem command structure: "/tips_id#human_language".
  • The solution of problem command structure: "/solution_id#programming_language".

Here is the main list of commands and their functions:

  • /start - Start introducing this channel.
  • /tips - Get tips of latest generated coding problem.
  • /solution - Get solution of latest generated coding problem.
  • /easy - Generate an easy coding problem.
  • /medium - Generate a medium coding problem.
  • /hard - Generate a hard coding problem.
  • /random - Random a coding problem.
  • /help - Help of the command list.

About

Simulate LeetCode generate coding problem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy