Skip to content

Developed an Azure OpenAI-based RAG email marketing platform with a Streamlit frontend and FIASS vector database for similarity search. The platform processes multiple input formats, including CSV, PDF, text, and PPT, and incorporates product descriptions and sales data to generate creative content and matplotlib graphs based on the input data.

Notifications You must be signed in to change notification settings

vishaltembhre/GenAI-RAG-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

GenAI RAG implementation [Marketing Email Generation]

This project uses Python and Streamlit to create a user-friendly web application that assists with generating marketing content, specifically emails. It leverages large language models (LLMs) to craft email copy based on user input and product descriptions.

Key Features:

Email Marketing Type Selection: Choose the type of marketing content you want to create (e.g., promotional, newsletter, educational).

Product Description Input: Enter details manually or upload a file (text, PDF, or PPT).

Data Upload (Optional): Upload a CSV, Excel, or text file containing relevant data for insights.

User Email Vision: Outline your desired email content and focus areas.

Creativity Level: Adjust the level of creativity for the generated email copy.

Legal Footer Selection: Pick a pre-defined legal footer for your email.

Email Generation: Generate email content based on your specifications.

Legal Check (Optional): Ensure the email complies with legal and regulatory requirements.

Download Options: Download the generated email and any insights graphs (if data is uploaded).

Getting Started:

Clone the repository: Use git clone https://github.com/vishaltembhre/GenAI-RAG-implementation.git to clone the project.

Install dependencies: Navigate to the project directory and run pip install -r requirements.txt to install required libraries.

Configure API Keys: Create a secrets file named .secrets and add your Azure OpenAI API details (CLIENT_SECRET) securely.

Run the application: Execute python main.py to start the Streamlit app.

Libraries

Python

Streamlit

langchain (for LLM integration)

pandas (for data manipulation)

PyPDF2 (for PDF processing)

pptx (for PowerPoint processing)

Azure OpenAI (for LLM access)

matplotlib (for data visualization)

seaborn (for data visualization)

About

Developed an Azure OpenAI-based RAG email marketing platform with a Streamlit frontend and FIASS vector database for similarity search. The platform processes multiple input formats, including CSV, PDF, text, and PPT, and incorporates product descriptions and sales data to generate creative content and matplotlib graphs based on the input data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages