Skip to content

Gvb3a/wolfram_telegram_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WolframAlpha telegram bot

Telegram bot with using WolframAlpha API. Written on aiogram. Try here

Api

Before launching the bot, create an .env file and populate it with the following API (all API are free)

BOT_TOKEN=
SIMPLE_API=
SHOW_STEP_API=
SIMPLE_TEX_API=
DETECT_LANGUAGE_API=
GENAI_API_KEY=
  • BOT_TOKEN - API for bot telegram. To get it you need to create a bot in BotFather
  • WOLFRAM_SIMPLE_API - WolframAlpha API for Simple API and Spoken Results API
  • WOLFRAM_SHOW_STEP_API - WolframAlpha API for Show Steps API
  • SIMPLE_TEX_API - the API of the Chinese analog of Mathpix. Get it from site
  • DETECT_LANGUAGE_API - Even though translation is done through deep_translator and does not require an API, I use Detect Language API to save the user's language and translate responses
  • DETECT_LANGUAGE_API - Gemini. Gives the ability to recognize photos much better and also to formulate queries if the user has entered an unclear query. Google studio

Todo

  • Comment and clean up the code
  • Statistics
  • Improve interaction with the database
  • Improve random walk

About

Telegram bot with using WolframAlpha API

Resources

Stars

Watchers

Forks

Languages