{"id":25445746,"url":"https://github.com/lperezmo/sms-helper","last_synced_at":"2026-04-12T09:48:08.854Z","repository":{"id":212883270,"uuid":"732514269","full_name":"lperezmo/sms-helper","owner":"lperezmo","description":"An AI-powered, function-calling text assistant written in Python and hosted through Azure Functions. ","archived":false,"fork":false,"pushed_at":"2024-01-18T03:44:04.000Z","size":183,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-29T04:30:36.766Z","etag":null,"topics":["azure","azure-functions","function-calling","gpt-3-5-turbo","llm","openai","openai-api","prompts","sentry","sms","twilio-sms-api","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lperezmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-16T23:26:58.000Z","updated_at":"2024-07-12T23:21:58.868Z","dependencies_parsed_at":"2023-12-26T05:30:53.690Z","dependency_job_id":"9d019fbf-3e38-4092-b7ec-4e4c40016ffc","html_url":"https://github.com/lperezmo/sms-helper","commit_stats":null,"previous_names":["lperezmo/sms-helper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lperezmo%2Fsms-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lperezmo%2Fsms-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lperezmo%2Fsms-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lperezmo%2Fsms-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lperezmo","download_url":"https://codeload.github.com/lperezmo/sms-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471048,"owners_count":22076587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-functions","function-calling","gpt-3-5-turbo","llm","openai","openai-api","prompts","sentry","sms","twilio-sms-api","visual-studio-code"],"created_at":"2025-02-17T16:38:31.889Z","updated_at":"2026-04-12T09:48:03.814Z","avatar_url":"https://github.com/lperezmo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMS Helper\n\n## Overview\nSMS Helper is an AI-powered, function-calling text assistant designed to process and respond to SMS messages. This application is written in Python and hosted through Azure Functions, utilizing Twilio as the SMS texting platform.\n\n## Features\n- Backend can call external tools to perform various functions, such as scheduling text and phone reminders. \n    - This functionality is supported through by allowing AI to call [flask-automated-reminders](https://github.com/lperezmo/flask-automated-reminders).\n- Azure Functions allow us to write the backend purely in Python \u0026 easily deploy changes.\n- Uses Twilio for SMS functionalities and integration.\n\n## Deploy on Azure (VS Code)\n1. Create an Azure account \u0026 create a function with all defaults (Python).\n    * **(Optional)** You can also just create using the Azure functions extension on VS code, see step 3.\n2. Create required environment variables on your function.\n    - `ACCOUNT_SID`\n    - `AUTH_TOKEN`\n    - `OPENAI_API_KEY`\n    - `SENTRY_DSN`\n    ![Setting Env variables in Azure\"](https://github.com/lperezmo/sms-helper/blob/main/images/azure_func_env_variables.png?raw=true)\n\n3. In VS Code, install the Azure Functions extension (this will make it way easier).\n\n    ![Extension](https://github.com/lperezmo/sms-helper/blob/main/images/extension.png?raw=true)\n\n4. Open the folder where this repo is located.\n    * **(Optional)** Edit `__init__.py` code to use alternative helper if you want to send less messages per request.\n    * **(Optional)** If using the 'schedule reminders' function, edit system message and API call to get the current time and date if you want something different than pacific time.\n5. Go to the extension, and under 'Workspace' click on the little thunder sign and select 'Deploy to existing function...'.\n\n    ![Deploy](https://github.com/lperezmo/sms-helper/blob/main/images/deploy.png?raw=true)\n\n6. Follow the prompts and done. Get your URL endpoint from Azure \u0026 load on Twilio.\n\n## Build \u0026 Deploy to Azure using Github Actions\nFollow instructions here to enable updating your Azure function when edits are made on Github repo: \n\n* [How to use GitHub Actions for Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-github-actions?tabs=linux%2Cdotnet\u0026pivots=method-manual)\n\n\n## Load on Twilio\n1. Create Twilio account.\n2. Go to Phone Numbers \u003e Manage \u003e Active Numbers \u003e Your number \u003e Messaging configuration.\n3. Set when a message comes in to use a webhook with your Azure Function endpoint (see image below)\n\n    ![Twilio config](https://github.com/lperezmo/sms-helper/blob/main/images/messaging_configuration.png?raw=true)\n\n*Note: Your endpoint will look like this:\n`https://YOUR-FUNCTION-NAME.azurewebsites.net/api/sms_helper`*\n\n## Summary\n1. Configure Azure \u0026 Twilio\n2. Create function in Azure\n3. Deploy\n4. Load on Twilio\n5. Text your new SMS bud\n\n## Requirements\nThe project requires the following dependencies:\n- `azure-functions==1.17.0`\n- `twilio==8.10.2`\n- `openai==1.3.2`\n- `sentry-sdk`\n\n## Contributing\nContributions to SMS Helper are welcome. Just submit a pull request and I'll take a look at it.\n\n## License\n GPL-3.0 license ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flperezmo%2Fsms-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flperezmo%2Fsms-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flperezmo%2Fsms-helper/lists"}