Update image generation message to handle singular and plural cases
3b40669
Chandima Prabhathcommited on
Improve image generation error handling and update message for image count in webhook
6dfcfe8
Chandima Prabhathcommited on
Remove polling functionality and related intent models from the bot
1e6d365
Chandima Prabhathcommited on
Remove redundant acceptance message in voice reply function and log failure instead
dc0ed92
Chandima Prabhathcommited on
Refactor route_intent function to enhance system prompt clarity and update command descriptions; add music generation functionality
da0b02a
Chandima Prabhathcommited on
Enhance audio reply generation with error handling; update assistant's personality in system prompt
0d5a343
Chandima Prabhathcommited on
Add health check endpoint and improve logging context; update requirements for telegram bot support
b9cdf7a
Chandima Prabhathcommited on
Refactor route_intent and whatsapp_webhook functions for improved error handling and logging; streamline JSON parsing and payload validation
b560795
Chandima Prabhathcommited on
Refactor route_intent function to enhance prompt clarity and user interaction; streamline function invocation instructions and JSON response format
c629376
Chandima Prabhathcommited on
Refactor LLM integration and function call handling; streamline message processing and enhance error handling
7b1490a
Chandima Prabhathcommited on
Refactor LLM integration and function call handling; update default model and streamline message processing
e15e135
Chandima Prabhathcommited on
Refactor route_intent function for improved prompt clarity and intent handling; enhance error messaging and logging
7ac9a06
Chandima Prabhathcommited on
Refactor route_intent function for improved clarity and efficiency in prompt handling and intent parsing
6818a89
Chandima Prabhathcommited on
Refine sys_prompt in route_intent function for clearer function invocation instructions and improved user interaction
b4241b8
Chandima Prabhathcommited on
Enhance route_intent function prompt for improved user interaction and clarity on JSON response format
825d7e7
Chandima Prabhathcommited on
Update route_intent function documentation for clarity on JSON response format
dc2a7ba
Chandima Prabhathcommited on
Update user input prompt format in route_intent function for clarity
25b0fa7
Chandima Prabhathcommited on
Increase conversation history limit to 20 messages; add summarize, translate, meme, and poll functionalities with corresponding intents and command support in the configuration.
3b132e6
Chandima Prabhathcommited on
Revert "Refactor intent handling by removing unused actions and improving error handling for LLM requests; update comments for clarity."
49de99a
Chandima Prabhathcommited on
Refactor intent handling by removing unused actions and improving error handling for LLM requests; update comments for clarity.
efc3973
Chandima Prabhathcommited on
Refactor LLM functions by removing unused summarize, translate, and meme functions; update generate_llm to increase max_tokens limit for improved response handling.
9e02558
Chandima Prabhathcommited on
Refactor intent classes by removing unused poll-related intents; update system prompt in config for clarity and conciseness.
34f6836
Chandima Prabhathcommited on
Refactor conversation history to limit stored messages to 10; remove unused poll functions and update command guidance in config for clarity and conciseness.
9125c67
Chandima Prabhathcommited on
Refactor image and voice reply generation functions for improved readability; enhance logging for better debugging and error handling.
1ac3ddc
Chandima Prabhathcommited on
Refactor voice reply prompt to enhance tone; adjust wording for a more friendly and playful delivery.
3ea99b4
Chandima Prabhathcommited on
Refactor error handling in generate_llm to raise LLMBadRequestError on HTTP 400; add clear_history function to reset conversation history on bad requests.
7cda32d
Chandima Prabhathcommited on
Add user feedback for image generation and enhance command guidance in config
52dde05
Chandima Prabhathcommited on
Refactor intent handling to use Pydantic models for strict parsing; update GenerateImageIntent to inherit from BaseModel and improve route_intent function for better error handling and data extraction.
db2f80b
Chandima Prabhathcommited on
Refactor app.py to improve function signatures and enhance intent routing; update requirements.txt to ensure pydantic is included.
cc969ee
Chandima Prabhathcommited on
Update FUNCTION_SCHEMA to include width and height parameters for generate_image; enhance user guidance in route_intent function.
869bca1
Chandima Prabhathcommited on
Enhance logging and error handling across modules; refactor image generation and upload processes; update configuration for image generation parameters.
5f26e9c
Chandima Prabhathcommited on
Refactor code for improved readability and consistency; adjust spacing and formatting in various functions.
61fd286
Chandima Prabhathcommited on
Refactor message handling to use _fn_send_text for consistent text and audio responses; update voice reply prompt for a playful tone.
1ef8ab5
Chandima Prabhathcommited on
Update voice reply prompt to include a flirty tone and enhance playful character
8dc8276
Chandima Prabhathcommited on
Update inspirational quote generation to request a unique random quote
293f3ed
Chandima Prabhathcommited on
Update weather report prompt and refine voice reply processing for a more playful tone
7bf1582
Chandima Prabhathcommited on
Refactor generate_voice_reply to use the original prompt instead of appending system prompt for audio generation
3250556
Chandima Prabhathcommited on
Enhance voice reply function to include a friendly prompt; implement retry logic with delay in LLM generation
c187bdf
Chandima Prabhathcommited on
Increase max_tokens for LLM generation to 8000; update example usage comment
d8d0078
Chandima Prabhathcommited on
Refactor trivia and weather functions; remove trivia-related code and update help text
a2104ab
Chandima Prabhathcommited on
Add startup message to notify when the bot is online with available commands
6abd01e
Chandima Prabhathcommited on
Comment out threading for inactivity monitor to prevent unintended execution during startup.
27ddf15
Chandima Prabhathcommited on
Enhance voice reply processing to include a friendly tone in prompts; fix minor logging issue in worker function.
f8e6b2e
Chandima Prabhathcommited on
Enhance configuration to support function calling for image generation and text replies; improve help text for user commands.
3ad83d3
Chandima Prabhathcommited on
Enhance whatsapp_webhook to generate and send voice prompts based on LLM replies.
8deb81b
Chandima Prabhathcommited on
Enhance whatsapp_webhook to include voice prompt handling for audio replies.
97cefd5
Chandima Prabhathcommited on
Refactor BotConfig to clarify BOT_JID comment; enhance quoted message handling in whatsapp_webhook for improved user reply processing.
8f336a6
Chandima Prabhathcommited on
Add debug logging for received data in whatsapp_webhook function
458794e
Chandima Prabhathcommited on
Refactor BotConfig validation to include BOT_JID; improve help text formatting and clarity in command descriptions.
1fbbc17
Chandima Prabhathcommited on
Refactor handle_image_generation function for improved error handling and clarity; update system prompt in config.yaml with enhanced command descriptions.