豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Brand monitoring flow using DeepSeek-R1, CrewAI and BrightData

This project implements an automated brand monitoring system using AI agents. We use the following tools to build this:

  • Bright Data is used to scrape the web.
  • CrewAI to build the Agentic workflow.
  • DeepSeek-R1 as the LLM.

The brand monitoring output is shown here: Sample output


Setup and installations

Get BrightData API Key:

  • Go to Bright Data and sign up for an account.
  • Select "Proxies & Scraping" and create a new "SERP API"
  • Select "Native proxy-based access"
  • You will find your username and password there.
  • Store it in the .env file of the src/ folder (after renaming the .env.example file to .env)
BRIGHT_DATA_USERNAME="..."
BRIGHT_DATA_PASSWORD="..."
  • Also get the Bright Data API key from your dashboard.
BRIGHT_DATA_API_KEY="..."

Setup Ollama:

# setup ollama on linux 
curl -fsSL https://ollama.com/install.sh | sh
# pull deepseek-r1 model
ollama pull deepseek-r1

Install Dependencies: Ensure you have Python 3.11 or later installed.

pip install ollama crewai crewai-tools streamlit

Run the project

Finally, head over to this folder:

cd brand_monitoring_flow/src

and run the project by running the following command:

streamlit run brand_monitoring_app.py

📬 Stay Updated with Our Newsletter!

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!

Daily Dose of Data Science Newsletter


Contribution

Contributions are welcome! Please fork the repository and submit a pull request with your improvements.