Skip to content

BatchBot v2.1 - Your AI Companion Gets Even Smarter

Choose a tag to compare

@YoussefElsafi YoussefElsafi released this 26 Sep 21:27
· 41 commits to main since this release
50af651

This update takes BatchBot to the next level, bringing in powerful new features and enhancements that make your AI friend even more helpful and engaging. Get ready to experience a smoother, more robust, and feature-rich BatchBot!

BatchBot Logo

🗣️ Hear BatchBot Speak! Introducing Text-to-Speech (TTS)

Say goodbye to silent responses! BatchBot can now read its answers aloud using text-to-speech (TTS). This adds a whole new layer of immersion to your interactions.

  • Control TTS: Easily turn TTS on or off using the /vc tts command.
  • Choose Your Voice: Pick your favorite voice from a selection of 20 options with /vc voice [voice_number] (1-20).
  • TTS on Voice Join: Want BatchBot to speak automatically in voice channels? Enable the auto_start_tts setting in config.py, and TTS will automatically activate when you use /vc join and deactivate when you use /vc leave.

🎧 BatchBot Joins the Conversation: Voice Channel Control

BatchBot is now ready to join your voice chats! This allows it to participate in conversations more directly and even read its responses aloud in real-time.

  • Join a Voice Channel: Use /vc join [channel_name] to bring BatchBot into your voice chat.
  • Leave a Voice Channel: Use /vc leave to have BatchBot politely exit the voice channel.
  • Check Connection Status: Wondering where BatchBot is hanging out? Use /vc status to see which voice channel it's connected to.
  • Replay Last TTS: Want to hear that clever answer again? Use /vc replay to replay the last generated audio.

🖼️ BatchBot's Enhanced Visual Understanding: Analyze Multiple Images at Once

BatchBot's image analysis abilities have been supercharged! Now you can send multiple images at once, and BatchBot will analyze each one, giving you detailed descriptions and insights.

  • Share Multiple Images: Upload PNG, JPG, JPEG, or GIF images to the chat, and BatchBot will handle them all in a single processing session!
  • Detailed Image Insights: BatchBot will provide detailed descriptions of each image, helping you understand the visuals and objects within them.

🤖 BatchBot's Brainpower Boost: Enhanced Instructions for Better Responses

The instructions guiding BatchBot have been completely revamped, making it even smarter and more accurate. The instruction.py file is now packed with comprehensive instructions, addressing common pitfalls and solutions. This means BatchBot understands your requests better, provides more helpful information, and avoids repetitive or confusing answers.

Key Instruction Improvements:

  • No More Repeating: BatchBot is better than ever at understanding the flow of the conversation and will avoid repeating prompts and responses.
  • Remembering What Matters: BatchBot now handles the /memory_save command with more precision, making sure you can store important information in its core memory for future reference.
  • Clear Communication: BatchBot is more focused on interacting directly with you, avoiding misattributing responses or echoing other users' prompts.
  • Concise and Informative: Responses are more to the point, providing just the information you need without unnecessary words.

🔐 Control Search Results with Safe Search

You can now set the default safe_search level in the config.py file to filter search results based on your preferences:

  • safe_search = 'On': BatchBot prioritizes safe search results, keeping potentially sensitive content out of sight.
  • safe_search = 'Off': BatchBot will show all results, including those that might be considered inappropriate or sensitive.

🛠️ Under the Hood Improvements: System Enhancements

  • Error Handling: BatchBot is even more robust, with improved error handling that makes it less likely to crash and provides more informative error messages.
  • FFmpeg for TTS: To use the TTS functionality, you can now configure the path to your ffmpeg.exe file in the config.py file.

🔎 Exploring the New Configuration Options in config.py

Here is a detailed explanation of the key options found in config.py, which allows you to tailor BatchBot's behavior to your preferences.

  • ai_toggle: This setting controls whether BatchBot automatically responds to messages that don't start with a command (e.g., "/" or "//"). Set to True to enable automatic responses, False to disable.
  • pro: This option lets you select the Gemini model you want to use. You have these choices:
    • True: Use the Google Gemini 1.5 Pro model.
    • True+: Use the Google's New Gemini 1.5 Pro 002.
    • False: Use the Google Gemini 1.5 Flash model.
      The Gemini Pro models offer more advanced capabilities and features compared to the Gemini Flash model.
  • limit_history: This boolean setting determines whether BatchBot will use a limited conversation history. If set to True, BatchBot will only remember a limited number of recent messages.
  • history_limit: This integer sets the maximum number of messages BatchBot will store in its conversation history if limit_history is set to True. For example, if history_limit is set to 100, BatchBot will only remember the last 100 messages.
  • show_time: This boolean controls whether BatchBot includes timestamps in its conversation history. If set to True, timestamps will be added to each message in the history.
  • history_channel_toggle: This setting enables or disables the use of per-channel conversation history. If set to True, BatchBot will track conversations individually for each Discord channel. If set to False, BatchBot will use a single global conversation history.
  • embed_colors: This option lets you customize the color of BatchBot's embeds. Use a hexadecimal color code (e.g., 0x00ff00 for bright green).
  • show_tokens_at_startup: This boolean controls whether BatchBot will display its API keys and tokens in the terminal when it starts. This is useful for quickly verifying that your keys are correct and valid.
  • fix_repeating_prompts: This experimental feature aims to help BatchBot avoid repeating prompts and responses, leading to a smoother conversational flow. It is set to True by default.
  • safe_search: Controls the level of safe search used when BatchBot performs web searches. Set to On for safe search results, Off for unfiltered results.
  • ffmpeg_path: The path to your ffmpeg.exe file. FFmpeg is required for the TTS functionality.
  • tts_toggle: Determines whether TTS is initially enabled or disabled when BatchBot starts. Set to True to enable TTS at startup, False to disable.
  • vc_voice: The default voice index for TTS. By default, it's set to 1, which corresponds to the en-US-BrianNeural voice. You can change this to any voice number (1-20) from the VOICES list.
  • sync_voice_with_text: This setting controls whether the voice output should be synchronized with the text output, ensuring that TTS plays in real-time alongside BatchBot's textual responses. This is set to True by default, but it might slightly increase response times.
  • HISTORY_FILE: The path to the file where BatchBot stores its conversation history.
  • auto_start_tts: This setting determines whether TTS should automatically start when you join a voice channel using /vc join. If set to True, TTS will automatically activate when you join. If set to False, you will need to manually enable TTS using /vc tts on.

The Power of Configuration:

By understanding and customizing these settings, you can fine-tune BatchBot's behavior to suit the specific needs and preferences of your Discord server. Experiment with different settings to discover the ideal configuration for your community!

🚀 What are you waiting for? Explore BatchBot's New Abilities!

This update marks a major advancement for BatchBot, turning it into a truly powerful and versatile AI companion. Get ready to explore its new features and discover all the ways it can enhance your Discord experience.

Important Notes:

  • BatchBot is constantly evolving, but you might encounter a few issues as it learns. Always test new features carefully!
  • If you have any suggestions or encounter any problems, please use the /report command to share your feedback.
  • This update does not include any new music or image generation models. However, we are always working to improve these features, so stay tuned for future updates!

BatchBot is here to make your Discord server more fun and engaging. Enjoy the update!

Full Changelog: v2.0.0...v2.1