Skip to content

A basic analytics module utilizing Langflow and DataStax to analyze engagement data from mock social media accounts and Streamlit-based web application that allows users to interact with a flow generated by LangFlow for social media performance analysis.

Notifications You must be signed in to change notification settings

Sharathchenna/EngageMetrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Media Performance Analysis

A basic analytics module utilizing Langflow and DataStax to analyze engagement data from mock social media accounts and Streamlit-based web application that allows users to interact with a flow generated by LangFlow for social media performance analysis.

Used Tools:

● DataStax Astra DB for database operations.

● Langflow for workflow creation and GPT integration.

● Streamlit for frontend access of Langflow.

Features

  • Powered by LangFlow and DataStax for robust and accurate analysis.
  • Interactive chat interface for social media performance analysis.
  • Easy-to-use interface with real-time insights from LangFlow.

Setup Instructions

1. Clone the Repository

git clone https://github.com/Sharathchenna/EngageMetrics.git
cd EngageMetrics

2. Create a Virtual Environment

Set up a Python virtual environment to manage dependencies:

python -m venv env

Activate the virtual environment: On Windows:

source env/Scripts/activate

On Mac/Linux:

source env/bin/activate

3. Install Dependencies

Install the required Python libraries:

pip install -r requirements.txt

4. Replace Application token

Replace "Application token" in main.py with the API token generated by LangFlow.

5. Run the Application

Start the Streamlit application:

streamlit run main.py

How to Use

(1) Enter your query in the text area provided.

(2) Click on the "Analyse" button to analyze the query.

View the analysis result along with the chat history displayed below the input area.

Project Structure

  • main.py: Main application file containing the Streamlit app logic.
  • requirements.txt: List of dependencies required for the project.

Notes

Ensure you have a valid LangFlow APP_TOKEN before running the application.

About

A basic analytics module utilizing Langflow and DataStax to analyze engagement data from mock social media accounts and Streamlit-based web application that allows users to interact with a flow generated by LangFlow for social media performance analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages