Telegram Open AI Bot

Contents:

  • Project Readme
  • src
Telegram Open AI Bot
  • Welcome to ManagementSystem’s documentation!
  • View page source

Welcome to ManagementSystem’s documentation!

Contents:

  • Project Readme
    • Build and Run
    • Database
    • Docs
  • src
    • chatgpt_manager module
      • ChatGptManager
        • ChatGptManager.from_tuple_to_gpt_input()
        • ChatGptManager.generate_initial_message()
        • ChatGptManager.get_chatgpt_response()
        • ChatGptManager.get_conversation_transcript()
        • ChatGptManager.summarize()
    • constants module
      • INIT_CHATBOT_PROMPT
      • SUMMARY_PROMPT
    • main module
      • generate_conversation_report()
      • make_printable()
      • manage_incoming_message()
      • root()
      • telegram_webhook()
    • postgres_sql_client module
      • PostgreSQLClient
        • PostgreSQLClient.get_messages()
        • PostgreSQLClient.insert_message()
        • PostgreSQLClient.insert_report()
Next

© Copyright 2023, Dario Bertolino, Lorenzo Bianchi.

Built with Sphinx using a theme provided by Read the Docs.