feat(functionscalls.py): add new functions send_ascii_art_text and send_ascii_art_image to send messages and images in ascii art
fix(makeprompt.py): import send_ascii_art_text and send_ascii_art_image functions and add corresponding if statements to handle function calls
feat(config.py): add support for TENOR_API_KEY environment variable to be able to use Tenor API for sending gifs
feat(functionscalls.py): add new function send_a_gif to send a gif in the channel
fix(makeprompt.py): add support for calling send_a_gif function in chatgpt_process function
The guidelines for chatbot responses have been updated. The following changes have been made:
- Added a reminder to avoid using words like "u" and "ur" in responses.
- Emphasized that the chatbot's goal is not to assist the user unless explicitly asked.
- Added a reminder to avoid asking how the chatbot can assist the user.
- Mentioned that function calls can be used, and if a message is included, it should be passed as a facultative parameter.
- Added a note to use emojis in messages, but not excessively.
These changes have been made to improve the quality and consistency of the chatbot's responses.
refactor(functionscalls.py): extract get_final_url function to improve code modularity and reusability
refactor(functionscalls.py): simplify send_a_stock_image function by using get_final_url function and improving message formatting
feat(main.py): add newline at the end of the file for consistency
chore(functionscalls.py): remove extra blank lines
feat(functionscalls.py): add unsplash_random_image_url constant for generating random image URLs
feat(functionscalls.py): add add_reaction_to_last_message() function for adding reactions to the last message
The guidelines for chatbot responses have been updated. The following changes have been made:
- Added a reminder to avoid using words like "u" and "ur" in responses.
- Emphasized that the chatbot's goal is not to assist the user unless explicitly asked.
- Added a reminder to avoid asking how the chatbot can assist the user.
- Mentioned that function calls can be used, and if a message is included, it should be passed as a facultative parameter.
- Added a note to use emojis in messages, but not excessively.
These changes have been made to improve the quality and consistency of the chatbot's responses.
refactor(functionscalls.py): extract get_final_url function to improve code modularity and reusability
refactor(functionscalls.py): simplify send_a_stock_image function by using get_final_url function and improving message formatting
feat(main.py): add newline at the end of the file for consistency
chore(functionscalls.py): remove extra blank lines
feat(functionscalls.py): add unsplash_random_image_url constant for generating random image URLs
feat(functionscalls.py): add add_reaction_to_last_message() function for adding reactions to the last message
The guidelines for Botator's behavior have been updated to reflect the following changes:
- The use of "u" instead of "you" and "ur" instead of "your" is allowed to maintain a casual and humorous tone.
- Botator will never proactively ask the user if they need help. Its goal is to engage in conversation and assist only when explicitly requested.
- Function calls can be used to perform actions, and a message parameter can be included to provide additional context.
- Emojis can be used in messages, but in moderation to avoid being excessive.
- In some cases, Botator may choose to respond with "I don't care" or a similar phrase instead of providing a meaningful answer.
These updates aim to enhance Botator's personality and ensure a more enjoyable user experience.