Skip to content

Insight Bot is a smart analytics assistant that lets you chat and instantly analyze social media engagement data. Built with Streamlit and powered by GPT and LangFlow, it delivers real-time insights and visualizations from social media metrics through a simple, interactive interface, making it easy to track trends and performance

Notifications You must be signed in to change notification settings

ShravanGupta07/Insight-bot

Repository files navigation

Social Media Performance Analysis

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

Used Tools:

  • DataStax Astra DB for database operations.
  • InsightBot (powered by LangFlow) for workflow creation and GPT integration.
  • Streamlit for frontend access of InsightBot.

Features:

  • Powered by InsightBot and DataStax for robust and accurate analysis.
  • Interactive chat interface for social media performance analysis.
  • Persistent query and response history using Streamlit's session_state.
  • Real-time insights from InsightBot displayed instantly.
  • Clean and simple UI with message history for a smooth user experience.

Setup Instructions

1. Clone the Repository

Clone the project from GitHub:

git clone https://github.com/ShravanGupta07/hackathon-projects/tree/main

Replace your-langflow-generated-token with the API token generated by LangFlow.

2. Install all packages

pip install -r requirements.txt

3. 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 "Generate" 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.
  • Dataset regarding social media insights(csv format)
  • Pdf of hackathon assignment
  • Images of langflow

About

Insight Bot is a smart analytics assistant that lets you chat and instantly analyze social media engagement data. Built with Streamlit and powered by GPT and LangFlow, it delivers real-time insights and visualizations from social media metrics through a simple, interactive interface, making it easy to track trends and performance

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages