Repository navigation
BatchBot v2.1 - Your AI Companion Gets Even Smarter
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!
🗣️ 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 ttscommand. - 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_ttssetting inconfig.py, and TTS will automatically activate when you use/vc joinand 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 leaveto have BatchBot politely exit the voice channel. - Check Connection Status: Wondering where BatchBot is hanging out? Use
/vc statusto see which voice channel it's connected to. - Replay Last TTS: Want to hear that clever answer again? Use
/vc replayto 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_savecommand 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.exefile in theconfig.pyfile.
🔎 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 toTrueto enable automatic responses,Falseto 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 toTrue, 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 iflimit_historyis set toTrue. For example, ifhistory_limitis 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 toTrue, 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 toTrue, BatchBot will track conversations individually for each Discord channel. If set toFalse, 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.,0x00ff00for 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 toTrueby default.safe_search: Controls the level of safe search used when BatchBot performs web searches. Set toOnfor safe search results,Offfor unfiltered results.ffmpeg_path: The path to yourffmpeg.exefile. FFmpeg is required for the TTS functionality.tts_toggle: Determines whether TTS is initially enabled or disabled when BatchBot starts. Set toTrueto enable TTS at startup,Falseto disable.vc_voice: The default voice index for TTS. By default, it's set to 1, which corresponds to theen-US-BrianNeuralvoice. You can change this to any voice number (1-20) from theVOICESlist.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 toTrueby 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 toTrue, TTS will automatically activate when you join. If set toFalse, 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
/reportcommand 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
