GENESIS.AI
Tags: cloudflarechallenge, devchallenge, ai, generativeai
Published: 2024-04-16 00:40:53

*This is a submission for the [Cloudflare AI Challenge](https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99).*

## What I Built

<!-- Tell us what your app does! -->
Our app, **Genesis.AI** (stands for 'Generative Analysis AI') harnesses capabilities of Generative AI🤖 to analyze a website's contents along with a summary and analysis report📋 and briefs about the analytical statistics🧮 about the content being safe for digital consumption or not.

## Demo

<!-- Share a link to your deployed solution on Workers or Pages, and add a screenshot or video embed of your app here. -->

Deploy Link - [https://genesis-ai-lake.vercel.app](https://genesis-ai-lake.vercel.app)

Sample HTML Website Content Analysis UI-

1. ![Genesis.AI Landing Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6c9o70gnek268wh21p5c.png)

2. ![Genesis.AI Generative AI](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rn30iey3ho7t3s9d8s16.png)

3. ![Genesis Core Feature](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9o5cdpyb1eh9kqn1h7z.png)

4. ![EDA Analytics for the LLM and LLI responses and probability distribution](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e39b5mimksjt4ulrxezj.png)

Sample Target HTML Website UI-
1. ![Sample Demo HTML Website](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwsddoze20rsy5seo9s4.png)

## My Code

<!-- Show us the code! Share a public link to your repo and be sure to include a README file with installation instructions. We also encourage you to add a license for your code.  --> 

GitHub Repo. Link- [https://github.com/Alphax16/genesis.ai](https://github.com/Alphax16/genesis.ai)

## Journey

<!-- Tell us about your process, the task types and models you used, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->
We started off keeping in mind the business use-case of Cloudflare itself, some of which are CDN Services, Cloud and Cyber Security, Risk Mitigations and Domain Registration Services.

Our aim was to come up with something which could prove it's importance before the real world problems tackled by Cloudflare on a day-to-day basis.

And, so, we emerged with our idea of developing a Generative AI powered application, **Genesis.AI** (Generative Analysis AI)

As we very know that Cloudflare and many such similar big tech service based companies offer their services, but soon after releasing their solutions they get detached from their clients and lose their control over how their softwares solutions are being utilized, which many a times leads to serious legal consequences.

Eureka, glowed our light bulbs and we came up with our idea of developing a pilot project of developing and AI based content analysis system, capable of scanning a complete website and it's associated domains and performing a multi-media (including both text and image) analysis and flagging whether the application making use of ones' services is a legitimate and ethical one or not.

For achieving our object, we primarily made use of the following 3 popular AI model workers offered by Cloudflare-
1. **LLAMA-2-7b-chat-fp16**
2. **Distilbert-SST-2-int8**
3. **ResNet-50**

**Multiple Models and/or Triple Task Types**
The app makes use of Clouflare's Workers AI models for achieving its task (triple task type)-

1. **LLAMA-2-7b-chat-fp16** developed by Meta Platforms, Inc.
Model Description - This model is trained on 2 trillion tokens, and by default supports a context length of 4096. LLAMA 2 Chat models are fine-tuned on over 1 million human annotations, and are made for chat.

2. **Distilbert-SST-2-int8** developed by researchers at Huggingface.
Model Description - The model distilbert-sst-2-int8 refers to a quantized version of the DistilBERT model fine-tuned on the Stanford Sentiment Treebank (SST-2) dataset. The original DistilBERT model was developed by researchers at Hugging Face.
DistilBERT itself is a smaller, faster, cheaper version of BERT (Bidirectional Encoder Representations from Transformers), originally developed by Google. DistilBERT was designed to provide a lighter transformer model that retains most of the performance of BERT but with fewer parameters, making it more efficient to use in terms of both memory and speed.

3. **ResNet-50** developed by Microsoft Research.
Model Description - ResNet50 is a deep Convolutional Neural Network (CNN) architecture that was developed by Microsoft Research in 2015. It is a variant of the popular ResNet architecture, which stands for “Residual Network.” The “50” in the name refers to the number of layers in the network, which is 50 layers deep.

<!-- Let us know if your project utilized multiple models per task and/or if your project used three or more task types. If so, you may qualify for our additional prize categories! If not, please remove this section. -->

Thus, the project made use of the above mentioned 3 popular AI model AI workers.


![Genesis.AI](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ar1i4rg9knf40lgkjteg.png)

## _Thank You!_

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image or an additional tag to this post (if you want). -->

<!-- Thanks for participating! -->