Enhancing User Experience: Introducing WhatsApp SMS Functionality & AI Assistant example in docs using it #122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Scope
This pull request introduces WhatsApp SMS functionality via Twilio and includes an example in the documentation for an AI assistant designed for a text-based pizza restaurant.
textbase/whatsappsms.py
module.Twilio
class with methods tosendsms()
andextract_phone_number()
.main.py
) to send messages when certain conditions are met.Note: This may not be a very furnished way to implement this but , its just a stepping stones to build this functionality & i believe we can together improve this very much
Screenshots
[Include relevant screenshots if applicable]
When message is sent to the user :
Pizza AI implement WhatsappSMS Example :
Code improvements
whatsappsms.py
).Developer checklist
Documentation