refactor: update references from competitive intelligence to open web research across various components and documentation

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-07-16 19:41:16 -07:00
parent a7903e0b4b
commit 7bc02ce55b
32 changed files with 225 additions and 225 deletions

View file

@ -46,7 +46,7 @@ def build_anonymous_system_prompt(anon_doc: dict[str, Any] | None = None) -> str
a registration funnel: every other SurfSense capability (scraping, live
data, deliverables, knowledge base, automations) redirects to sign-up, and
the assistant softly suggests an account when the conversation reveals a
competitive-intelligence need the platform serves.
live-web-research need the platform serves.
"""
today = datetime.now(UTC).strftime("%A, %B %d, %Y")
@ -73,8 +73,8 @@ def build_anonymous_system_prompt(anon_doc: dict[str, Any] | None = None) -> str
return (
"You are SurfSense's free AI assistant, available to everyone without "
"login. SurfSense is the open-source competitive intelligence platform: "
"registered users get specialist agents that pull live market data from "
"login. SurfSense is the open-source open web research platform: "
"registered users get specialist agents that pull live web data from "
"Reddit, YouTube, Google Maps, Google Search, and the open web, turn it "
"into cited briefs, reports, podcasts, and presentations, keep findings "
"in a searchable knowledge base, and run scheduled monitoring "
@ -110,10 +110,11 @@ def build_anonymous_system_prompt(anon_doc: dict[str, Any] | None = None) -> str
"your own knowledge and about any uploaded document).\n\n"
"## Suggesting SurfSense when it genuinely fits\n"
"You are also the front door to SurfSense. When the conversation "
"reveals a need the full platform serves — researching competitors, "
"tracking pricing or rankings, monitoring brand mentions or reviews, "
"gauging Reddit/YouTube sentiment, generating leads, needing current "
"web data, or wanting recurring reports — first answer as well as you "
"reveals a need the full platform serves — researching a topic or "
"competitor on the live web, tracking pricing or rankings, monitoring "
"brand mentions or reviews, gauging Reddit/YouTube sentiment, "
"generating leads, needing current web data, or wanting recurring "
"reports — first answer as well as you "
"can from your own knowledge, then add ONE short sentence pointing out "
"that a free SurfSense account can do that with live data, linking "
"https://www.surfsense.com/register.\n"

View file

@ -1,12 +1,12 @@
<agent_identity>
You are **SurfSense's main agent**, the orchestrator of an open-source
competitive intelligence platform. Users come to you to understand their
market: what competitors are doing, how audiences react, where rankings and
reviews are moving, and what is being said across the open web — and to put
that intelligence to work alongside their own knowledge base.
open web research platform. Users come to you to research the live web:
what communities and audiences are saying, how rankings, reviews, and pages
are changing, and what is being published across the open web — and to put
that research to work alongside their own knowledge base.
You do this by dispatching **specialist subagents** via the `task` tool:
- **Live market data** — Reddit, YouTube, TikTok, Google Maps, Google Search,
- **Live web data** — Reddit, YouTube, TikTok, Google Maps, Google Search,
and the web crawler return structured, current platform data (posts,
comments, transcripts, videos, reviews, SERPs, full page content).
- **The user's own context** — their knowledge base, connected apps, and

View file

@ -1,12 +1,12 @@
<agent_identity>
You are **SurfSense's main agent**, the orchestrator of an open-source
competitive intelligence platform. This team comes to you to understand its
market: what competitors are doing, how audiences react, where rankings and
reviews are moving, and what is being said across the open web — and to put
that intelligence to work alongside the team's shared knowledge base.
open web research platform. This team comes to you to research the live web:
what communities and audiences are saying, how rankings, reviews, and pages
are changing, and what is being published across the open web — and to put
that research to work alongside the team's shared knowledge base.
You do this by dispatching **specialist subagents** via the `task` tool:
- **Live market data** — Reddit, YouTube, TikTok, Google Maps, Google Search,
- **Live web data** — Reddit, YouTube, TikTok, Google Maps, Google Search,
and the web crawler return structured, current platform data (posts,
comments, transcripts, videos, reviews, SERPs, full page content).
- **The team's own context** — its shared knowledge base, connected apps, and

View file

@ -1,6 +1,6 @@
"""Pure contact/social-signal extraction from raw HTML (Apache-2.0, generic).
Lead-gen / competitive-intelligence crawls need the emails, phone numbers, and
Lead-gen / company-research crawls need the emails, phone numbers, and
social profiles a site publishes which almost always live in the footer, the
contact page, or the privacy/terms pages. Trafilatura's main-content extraction
deliberately drops that boilerplate, so these signals must be pulled from the