Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(business-knowledge): remove duplicate published docs and say "AI" in the header (#122353)

Marco Gancitano2cd7befe6aad
diff --git a/docs/published/docs/business-knowledge/learn-from-support.mdx b/docs/published/docs/business-knowledge/learn-from-support.mdx
deleted file mode 100644
index e73ba4c8fb90..000000000000
--- a/docs/published/docs/business-knowledge/learn-from-support.mdx
+++ /dev/null
@@ -1,92 +0,0 @@
----
-title: Learn from support
-sidebar: Docs
-showTitle: true
----
-
-Learn from support is a Business knowledge setting.
-When it is on, PostHog learns reusable answers from public human replies on resolved support tickets.
-
-The setting is off by default.
-Turn it on from the **Settings** tab on Business knowledge, or from project settings under **Business knowledge**.
-
-## Support must be on
-
-Learning reads resolved Support tickets, so Support must be on in the same environment before you can turn this setting on.
-
-If Support is off:
-
-- The switch is disabled when learning is also off, with a link to Support settings.
-- You can still turn learning off if it was already on.
-
-A `PATCH` that sets `learn_from_support_enabled` to `true` while Support is off returns `400` with:
-
-```text
-Turn on Support to learn from resolved tickets.
-```
-
-This check uses Support in the environment you called, not the parent project.
-A child environment with Support off cannot enable learning, even when the parent has Support on.
-
-## API
-
-```text
-GET /api/projects/:project_id/business_knowledge/settings/
-PATCH /api/projects/:project_id/business_knowledge/settings/
-```
-
-`GET` requires the `business_knowledge:read` scope.
-`PATCH` requires `business_knowledge:write`.
-Business knowledge must be enabled for the project.
-
-A personal API key or OAuth token scoped to specific environments must include the project's canonical team.
-A token scoped only to a child environment cannot read or change this setting.
-
-A `PATCH` is partial.
-Send only the fields you want to change.
-An empty body leaves the stored setting unchanged and still returns the current values.
-
-### `learn_from_support_enabled`
-
-Whether this project learns from resolved support tickets.
-Default: `false`.
-
-The value is stored on the project's canonical team.
-A `GET` or `PATCH` from a child environment reads and writes that same parent value.
-
-### `support_enabled`
-
-Read-only.
-Whether Support is on in the environment you called.
-
-A child environment can therefore return `learn_from_support_enabled: true` and `support_enabled: false` together:
-learning is on for the project, and Support is off in that environment.
-
-## How learning runs
-
-PostHog checks for resolved tickets every five minutes.
-It waits at least five minutes after the ticket is last updated or receives a public human reply.
-It reads public replies written by a person from each environment where Support is on.
-Private notes, customer messages, deleted replies, and AI replies are not used.
-
-Each reply is checked for reusable information, personal data, secrets, and overlap with existing Business knowledge.
-Accepted answers are added as their own learned sources, named after the topic.
-Each new learned source also joins a library named Learned.
-If you take a source out of Learned, it stays out.
-Deleting Learned does not delete the sources. The next new learned source creates the library again and joins only itself.
-You can open, edit, or delete a learned source.
-PostHog does not change a source that already exists when it analyzes the same ticket again.
-
-If a later reply contradicts an earlier learned source, PostHog keeps the newer answer and disables the older learned source so it stops being used in replies.
-The older source and its content are kept, and the change is recorded in the activity log.
-PostHog only replaces a learned source that holds one document, so a crawled site with many pages stays as it is.
-A source you wrote is never disabled this way. PostHog keeps it and skips the newer answer instead.
-
-A project can have up to 10,000 learned sources.
-After that, new answers are not added until you delete some.
-
-## Turn learning off
-
-Turn off **Learn from support** to stop new analysis.
-Sources already learned stay in Business knowledge until you delete them.
-Open a learned source and delete it to remove that answer.
diff --git a/docs/published/docs/business-knowledge/owners.yaml b/docs/published/docs/business-knowledge/owners.yaml
deleted file mode 100644
index f2c367541e6e..000000000000
--- a/docs/published/docs/business-knowledge/owners.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-version: 1
-owners:
- - conversations
diff --git a/docs/published/docs/business-knowledge/start.mdx b/docs/published/docs/business-knowledge/start.mdx
deleted file mode 100644
index e5ecf80ce055..000000000000
--- a/docs/published/docs/business-knowledge/start.mdx
+++ /dev/null
@@ -1,75 +0,0 @@
----
-title: Business knowledge
-sidebar: Docs
-showTitle: true
----
-
-Business knowledge stores the facts PostHog uses when it answers questions about your business.
-PostHog AI, Support, and the Business knowledge MCP tools all read the same sources.
-
-Open **Business knowledge** and choose **Add source**.
-
-## Text
-
-Paste a policy, an FAQ, or any other text, and give the source a name.
-Edit the source when the text changes.
-
-## URL
-
-Paste a public URL and choose how PostHog should read it.
-
-- **Single page** fetches that page.
-- **Sitemap.xml** reads the sitemap at that URL, or `/sitemap.xml` on the same site, and indexes each listed page.
-- **Same-origin crawl** indexes that page and other pages on the same site, staying under the page's path. A URL at the site root covers the whole site. Skip paths you do not want. Depth and max pages bound the crawl. The crawl follows `robots.txt`.
-
-## File
-
-Upload a PDF, DOCX, Markdown, CSV, or plain text file.
-PostHog stores the text it reads from the file. It does not keep the original file.
-To change a file, delete the source and upload it again.
-
-## Auto-refresh
-
-A URL source can refresh on a schedule: every hour, every 6 hours, every day, or every week.
-**Manual only** means PostHog fetches the source when you add it, and again when you refresh that row yourself.
-
-Text and file sources do not refresh on a schedule.
-
-## Libraries
-
-A library limits search to the sources and repositories you put in it.
-A source can be in more than one library, or in none.
-**All** searches every ready source.
-**Unfiled** shows sources that are in no library.
-
-Deleting a library removes only that grouping.
-The sources, documents, and selected repositories stay.
-
-Pass `library_id` to document search, repository search, and file read when you want one library.
-Leave it out to search the whole project.
-
-## Playground
-
-The **Playground** tab has two modes.
-Use it to check that a source is found before you rely on it in Support or PostHog AI.
-
-- **Chat** asks a question against your sources and shows the answer.
- Open **Looked through business knowledge** under a question to see each search and document read the answer made.
- Open a search or a read to see its chunks.
- A chunk from a source the answer cited is tagged **Cited**.
-- **Search** shows the chunks that match a query, without writing an answer.
-
-The chunks under a chat answer load again when you open them.
-If your sources changed since the answer, they can differ from what the answer used.
-
-## Content checks
-
-PostHog checks each document before using it in an answer.
-A document marked unsafe is left out.
-A document is also left out until that check finishes.
-The source shows when it has unsafe content.
-
-## Learn from support
-
-You can also let PostHog add reusable answers from resolved support tickets.
-See [Learn from support](/docs/business-knowledge/learn-from-support).
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 453466eb33c1..881906d5f9d0 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -9967,9 +9967,9 @@ snapshots:
scenes-app-business-knowledge-playground--chat-citations--light:
hash: v1.k794b7964.51499b6453006544ad1dea90bb84c7d1006aa68c3579f7d43a24eefced66cd34.SDbrud1AhjhV6lNIqj2G2jKfOaIWrYvLla6q5qE7-pg
scenes-app-business-knowledge-playground--narrow-scene--dark:
- hash: v1.k794b7964.f79ec74f665be20d3b328907b340731950a6511614029a321c80050d1709c962.io6TjbEN37uQwwctqkEEDM65Qw7qODR91KqQQDGBz_A
+ hash: v1.k794b7964.214dcbfdd83528acbf86aba54eaa5659f3cac634d565755abfb81341bfba069c.nOL5OGbm21fzE_iPcc8BcJEzAtR8bKLKwrGnuXWpUmk
scenes-app-business-knowledge-playground--narrow-scene--light:
- hash: v1.k794b7964.f3a473dd47ff467d5c44f2a1e3d85c33b9339974a0b304d8c1394cc346fea0a3.oNrw5CTqGZQ5KUU1B04MTM5KWJZMa4AiIMWO9YOy3s8
+ hash: v1.k794b7964.aa4e94c16ddd63c4a423281080484d03c19260dce42e1ddc2aa91d1516bde768._4DWwyNePgLqaTkf-3LWkLJ2aB-czJUvKynzdVnJGls
scenes-app-business-knowledge-playground--new-chat--dark:
hash: v1.k794b7964.5204ba012e17ab3cb7d32cce00fadc82ca73d186071ce944c7bea604b9a0e018.xYIFSiA8hbd2dgrd2obg6v-zKOgMwwfsZ0cXDjePRG8
scenes-app-business-knowledge-playground--new-chat--light:
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index 7323ce8fcebb..b2fef6880b94 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -776,7 +776,7 @@ export const productConfiguration: Record<string, any> = {
activityScope: 'KnowledgeSource',
iconType: 'business_knowledge',
description:
- 'Upload text, public URLs, or files so PostHog AI can understand your business context, vision, and policies.',
+ 'Upload text, public URLs, or files so AI can understand your business context, vision, and policies.',
},
BusinessKnowledgePlayground: {
name: 'Business knowledge playground',
diff --git a/products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.tsx b/products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.tsx
index c6a0d74a13bd..a672c4b9c1d3 100644
--- a/products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.tsx
+++ b/products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.tsx
@@ -36,7 +36,7 @@ export function BusinessKnowledgePlaygroundScene(): JSX.Element {
<SceneContent className="min-h-0 flex-1">
<SceneTitleSection
name="Business knowledge"
- description="Upload text, public URLs, or files so PostHog AI can understand your business context, vision, and policies."
+ description="Upload text, public URLs, or files so AI can understand your business context, vision, and policies."
resourceType={{ type: 'business_knowledge' }}
/>
<BusinessKnowledgeTabs activeTab="playground" />
diff --git a/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.tsx b/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.tsx
index f25bb79ed83e..d844de148f8d 100644
--- a/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.tsx
+++ b/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.tsx
@@ -27,7 +27,7 @@ export function BusinessKnowledgeSettingsScene(): JSX.Element {
<SceneContent>
<SceneTitleSection
name="Business knowledge"
- description="Upload text, public URLs, or files so PostHog AI can understand your business context, vision, and policies."
+ description="Upload text, public URLs, or files so AI can understand your business context, vision, and policies."
resourceType={{ type: 'business_knowledge' }}
/>
<BusinessKnowledgeTabs activeTab="settings" />
diff --git a/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.tsx b/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.tsx
index ecff7ae5e683..2e19fed8fdcc 100644
--- a/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.tsx
+++ b/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.tsx
@@ -71,7 +71,7 @@ export function BusinessKnowledgeScene(): JSX.Element {
<SceneContent>
<SceneTitleSection
name="Business knowledge"
- description="Upload text, public URLs, or files so PostHog AI can understand your business context, vision, and policies."
+ description="Upload text, public URLs, or files so AI can understand your business context, vision, and policies."
resourceType={{ type: 'business_knowledge' }}
actions={
todayRailNav ? (
diff --git a/products/business_knowledge/manifest.tsx b/products/business_knowledge/manifest.tsx
index 5eca03adcbd8..d32f2620ff9c 100644
--- a/products/business_knowledge/manifest.tsx
+++ b/products/business_knowledge/manifest.tsx
@@ -20,7 +20,7 @@ export const manifest: ProductManifest = {
activityScope: 'KnowledgeSource',
iconType: 'business_knowledge',
description:
- 'Upload text, public URLs, or files so PostHog AI can understand your business context, vision, and policies.',
+ 'Upload text, public URLs, or files so AI can understand your business context, vision, and policies.',
},
BusinessKnowledgePlayground: {
name: 'Business knowledge playground',