/Protyo.Email.Service

This system is designed within Protyo Organization in order to create a subscription system for Government Grant Programs. The Goal and objective of this application is to act as an intermediary middleware worker service system which collects information retrieved from a google-form data responses and then creates a subscription email listing.

Primary LanguageC#

Protyo Email Service

This system is designed within Protyo Organization in order to create a subscription system for Government Grant Programs. The Goal and objective of this application is to act as an intermediary middleware worker service system which collects information retrieved from a google-form data responses and then creates a subscription email listing.

The email listing will integrate with an ML Operations infrastructure design solution in AWS, Utilizing Hermes 2 Pro Function-Calling Action model; Which will create a Criteria Match case system with LLMs in order to match subscribed Users to a Tiered Level Government Grant Program.

This Open Source application will not run without a Security folder: Protyo.EmailService/Security
with the added files: service-credentials.json file created from a Google API Service Account

image

image

image

Architecture Design

Protyo Email Subscription Service, Utilizes Web API Service to Communicate with Stripe API Endpoint. Subscription Service Contact ML Operations LLM Model. Users will Interact with Google forms, which will submit response data of consumer for subscription service.
Protyo.DatabaseRefresh will refresh a database job, updating database information from https://Grants.gov to archive grant loan information. This information will be fed into the Sage Maker Pipelines for the ML Operations Infrastructure to train ML engineering data for a Grant Matching system using Hermes 2 Function Calling with LLM integration with GPT4.

Protyo.EmailSubscriptionService will consume sage maker endpoint model data for a list of matching grants for each consumer, combined with the contact information from Google Forms, will generate an HTML formatted Email system to help users subscribe into a matching Grant system.

image

Protyo Web Service

Protyo Web Service exposes Grant Information for the ML Engineering team to interact with. The Webservice is integrated with a Caching mechanism for both Grants and Google Sheets API to save IOP Costs to both AWS & Google Cloud Services. Filters allow ML team to filter quality grants to define more specific cost ranges for Grants. Model Schema is available to view on the Web Service, provided by Swagger UI.

image

image

Worker Service Jobs

Protyo Worker Service Jobs are designed to run on Windows Server as a Service but can also be scaled into dockerized containers. The Logging information system logs error and information of the worker service jobs and errors into Windows Event Viewer. Easy Management and maintenance of service in any infrastructure environment. The Worker Services application runs on windows server as a local background service. Through the Services.msc applet. The Database refresh job is configured to run once every 24 hours to check the Grants API database for any updated grant information that is not stored within the inhouse dynamo DB in AWS. The Algorithm in Database refresh job will cross validate with existing grant id keys within the database to prevent duplicate records from syncing in house.

image

image

image

Email Subscription Service

The Email Subscription service is a worker service job and running the process will send an html formatted email to the list of subscribers collected from the google forms

image

Comprehensive Guide to Dockerize .NET applications into containerized instances and deploy to AWS ECS (Elastic Container Service) Integrating ECR (Image Repository)

Video Link: https://www.youtube.com/watch?v=hWyPbsahc6s&t=7s

.NET Services Dockerized ECS Container