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.
● DataStax Astra DB for database operations.
● Langflow for workflow creation and GPT integration.
● Streamlit for frontend access of Langflow.
- 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.
git clone https://github.com/Sharathchenna/EngageMetrics.git
cd EngageMetrics
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
Install the required Python libraries:
pip install -r requirements.txt
Replace "Application token" in main.py with the API token generated by LangFlow.
Start the Streamlit application:
streamlit run main.py
(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.
- main.py: Main application file containing the Streamlit app logic.
- requirements.txt: List of dependencies required for the project.
Ensure you have a valid LangFlow APP_TOKEN before running the application.