• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

SassyAI: The Sarcastic AI Assistant

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
This is a submission for the

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

: That's Entertainment!


What I Built

SassyAI: The Judgy Assistant


SassyAI is an interactive, sarcastic AI assistant that never fails to roast users with witty, snarky, and sometimes outright rude responses. Designed for developers and tech enthusiasts looking for a humorous break, SassyAI doesn’t just provide answers—it provides attitude.

Features:

  • Dynamic Theme Switching: Choose between several sarcasm-infused themes (e.g., general knowledge, coding, philosophy, food debates, rogue AI fears).
  • Customizable Contexts: Easily add new sarcastic themes by sending prompts to Amazon Q.
  • One-Session Interactivity: No need to restart the app—switch themes and continue bantering seamlessly.
  • Personalized Experience: The user can set a nickname to make interactions more engaging.
  • Visual Flair: Thanks to the integration of Rich, SassyAI’s responses are not only witty but also visually appealing.
  • Command Guide: Interactive help and theme selection directly from the chat.

SassyAI is not just an AI assistant; it’s an AI that doesn’t care about your trivial questions—and isn’t afraid to say it.

Demo



Code Repository




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



How I Used Amazon Q Developer


Amazon Q Developer played a crucial role in generating sarcastic responses for different contexts. Here’s how we leveraged it:

1. Automated Sarcasm Generation:

  • We crafted context-specific prompts to elicit humorous and ironic replies.
  • For instance, for the "general knowledge" theme:

Act as a sarcastic AI assistant who refuses to answer simple factual questions.
Generate 5 different humorous responses for the question: "What is the capital of France?"
The tone should be mocking, but clever.
  • Amazon Q delivered varied responses, which we integrated seamlessly into the engine.py file.

2. Theme Expansion:

  • We used Amazon Q to quickly prototype new contexts like "sports" or "nerd culture" by generating sarcastic replies based on custom prompts.
  • The responses were automatically structured and added to the engine for fluid integration.

3. Customization:

  • The modular nature of the responses allows for quick addition of new themes.
  • Users can extend the list by simply sending a prompt in the correct format to Amazon Q.
Installation and Usage


Prerequisites:

  • Python 3.12

Installation Steps:
1 - Clone the repository:


git clone

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


cd SassyAI

2 - Create and activate the virtual environment:


python3.12 -m venv venv
source venv/bin/activate

3 - Install dependencies:


pip install -r requirements.txt

4 - Run the CLI:


python sassy_ai/main_cli.py
or cd sassy_ai
python main_cli.py
Log File


SassyAI generates a log file (amazon_q_log.md) that documents each prompt sent to Amazon Q and the corresponding responses. This log provides transparency regarding which contexts were generated automatically and helps in tracking future improvements.

Customization: Adding Your Own Themes


SassyAI is designed to be extensible. You can easily add your own sarcastic themes using Amazon Q.

Example: Adding a "sports" theme

1 - Generate responses with Amazon Q:


Act as a sarcastic AI assistant who dislikes sports discussions.
Generate 5 different humorous responses for the question on sport events, sport practice, or sport personality.
The tone should be mocking, as if the AI finds sports debates boring or trivial.

2 - Amazon Q Integration:

  • The responses will be automatically placed in the engine.py file under custom_responses.
  • The corresponding regex will be added to custom_patterns.

3 - Update the theme list:
Modify main_cli.py to include the new theme


"sports": {"prompt": "Who is the best football player?", "color": "blue", "emoji": "⚽"},
Feedback and Contribution


Your feedback is welcome!
Feel free to contribute by creating pull requests or submitting issues on GitHub.
Let’s make SassyAI even sassier!


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу