You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Brand monitoring flow using DeepSeek-R1, CrewAI and BrightData
2
+
3
+
This project implements an automated brand monitoring system using AI agents. We use the following tools to build this:
4
+
-[Bright Data](https://brdta.com/dailydoseofds) is used to scrape the web.
5
+
- CrewAI to build the Agentic workflow.
6
+
- DeepSeek-R1 as the LLM.
7
+
8
+
The brand monitoring output is shown here: [Sample output](brand-monitoring-demo.mp4)
9
+
10
+
---
11
+
## Setup and installations
12
+
13
+
**Get BrightData API Key**:
14
+
- Go to [Bright Data](https://brdta.com/dailydoseofds) and sign up for an account.
15
+
- Select "Proxies & Scraping" and create a new "SERP API"
16
+
- Select "Native proxy-based access"
17
+
- You will find your username and password there.
18
+
- Store it in the .env file of the src/ folder (after renaming the .env.example file to .env)
19
+
20
+
```
21
+
BRIGHT_DATA_USERNAME="..."
22
+
BRIGHT_DATA_PASSWORD="..."
23
+
```
24
+
25
+
- Also get the Bright Data API key from your dashboard.
26
+
27
+
```
28
+
BRIGHT_DATA_API_KEY="..."
29
+
```
30
+
31
+
**Setup Ollama**:
32
+
```bash
33
+
# setup ollama on linux
34
+
curl -fsSL https://ollama.com/install.sh | sh
35
+
# pull deepseek-r1 model
36
+
ollama pull deepseek-r1
37
+
```
38
+
39
+
40
+
**Install Dependencies**:
41
+
Ensure you have Python 3.11 or later installed.
42
+
```bash
43
+
pip install ollama crewai crewai-tools streamlit
44
+
```
45
+
46
+
---
47
+
48
+
## Run the project
49
+
50
+
Finally, head over to this folder:
51
+
```
52
+
cd brand_monitoring_flow/src
53
+
```
54
+
55
+
and run the project by running the following command:
56
+
57
+
```bash
58
+
streamlit run brand_monitoring_app.py
59
+
```
60
+
61
+
---
62
+
63
+
## 📬 Stay Updated with Our Newsletter!
64
+
**Get a FREE Data Science eBook** 📖 with 150+ essential lessons in Data Science when you subscribe to our newsletter! Stay in the loop with the latest tutorials, insights, and exclusive resources. [Subscribe now!](https://join.dailydoseofds.com)
65
+
66
+
[](https://join.dailydoseofds.com)
67
+
68
+
---
69
+
70
+
## Contribution
71
+
72
+
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
0 commit comments