Telegram bot with functions tools.
- In comparsion with popstas/telegram-chatgpt-bot
- Single answer to several forwarded messages to bot
- Bot can use tools to get answer
- Better fallback answer when telegram markdown is wrong
- Agent-like pipelines: bot can use several tools to get answer
- Receive question
- Use tool to get answer, send tool usage to user
- Read tool answer, answer user
brainstorm
- Useful tool for brainstorming and planning taskchange_chat_settings
- Change chat settings in config.ymlget_next_offday
- count 4-days cycle: day, night, sleep, offdayjavascript_interpreter
- exec JavaScript codeobsidian_read
- return the contents of an Obsidian file specified byfile_path
, list of files pass to the promptobsidian_write
- append text to a markdown file specified byout_file
planfix_create_request_task
- Creates new task in CRM Planfixpowershell
- exec PowerShell command, single server from configread_google_sheet
- read Google Sheetread_knowledge_google_sheet
- questions and ansers from Google Sheetread_knowledge_json
- questions and ansers from json file/urlssh_command
- exec ssh shell command, single server from config
Empty config.yml
should be generated. Fill it with your data:
- bot_name
- auth.token
- auth.chatgpt_api_key
To run the tests, use the following command:
npm test
This will execute all unit and integration tests in the tests
directory using the jest
framework.
- Tool change_access_settings, for add/remove users to/from adminUsers, privateUsers