Add knowledge base starter#40
Merged
Merged
Conversation
A governed, AI-queryable knowledge base starter built on the Use-Case
Centricity 'Agent Knowledge Base' brief:
- studio/: schema (helpArticle, faq, playbook, policy + taxonomy),
governance (Needs Review queue, Content Health dashboard), two
Agent Context configs (external/internal), seed data ('Beacon' SaaS)
- app/: external Next.js help center — browse/filter, hybrid search,
AI chat via the external Agent Context MCP (server-side token only)
- dashboard/ + dashboard-server/: internal Sanity App SDK tool + a
Hono chat proxy holding the internal token (App SDK is browser-only)
- functions/: set-review-date (90-day review clock on publish)
- bootstrap automates project setup (private dataset, embeddings,
tokens, deploy, seed)
Portable Text throughout for clean embeddings. Phases 0-6 of 7;
skill/docs/CI packaging remain.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… tags Bootstrap's two `sanity tokens add` calls ran from repo root without --project-id, failing with ProjectRootNotFoundError on a fresh run. Pass projectId like the deploy steps already do. Add requestTagPrefix to match the repo convention (PR sanity-labs#36): frontend.knowledge-base on the app client, and ${prefix}.knowledge-base via unstable_clientFactory in Studio. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… README row Also fix pre-commit hook to handle root-level dirs without a package.json (.github) by formatting with the root oxfmt. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ataset defineLive only uses serverToken for draft fetches; published reads went through the tokenless base client and silently returned empty on the private dataset. Token is server-only (non-NEXT_PUBLIC env var). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@Ojself is attempting to deploy a commit to the Sanity Sandbox Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.