Increase backoff duration for image fetching and limit returned prompt to first paragraph
0d9d5af
Chandima Prabhathcommited on
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
Refactor audio generation prompt handling to remove system prompt from URL encoding
3470178
Chandima Prabhathcommited on
Refactor system prompt formatting and improve command list clarity in configuration
291d206
Chandima Prabhathcommited on
Update system prompt for improved tone and clarity; adjust assistant's personality description
e7afedd
Chandima Prabhathcommited on
Update LLM model in configuration and streamline model retrieval in code
849ff4f
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 default LLM model to Nvidia Llama-3_3-Nemotron-Super-49B-v1
be34418
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
Fix OpenAI client initialization by setting the api_key to the environment variable
cb9e3eb
Chandima Prabhathcommited on
Update LLM model and API configuration; modify example prompt for testing
8d28aeb
Chandima Prabhathcommited on
Update /gen command documentation to correct image size options for clarity.
e2cc7c8
Chandima Prabhathcommited on
Remove max_tokens parameter from LLM request in generate_llm function for cleaner API call.
5c8a7b9
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 generate_llm function for improved readability; streamline parameter assignments and enhance error handling for 400 Bad Request responses.
dba77ac
Chandima Prabhathcommited on
Refactor voice reply generation to include system prompt customization; add helper function to build system prompt and update encoded prompt formatting.