FeatBit official documentation real-time Q&A assistant. Activate when user mentions "FeatBit", "feature flag", "feature toggle", or asks about FeatBit SDK integration, deployment, or configuration...
Real-time fetching with precise routing, no index maintenance, always up-to-date information.
| Doc Type | Hosting | Fetch Method | Reason |
|---|---|---|---|
| SDK Integration | GitHub README | webReader on GitHub | SDK docs not on official site |
| Deployment/Features | docs.featbit.co | webReader on docs | Standard doc structure |
| All Types | Real-time, no cache | FeatBit under active development, docs update frequently |
Decision Logic: If question contains "SDK", "integration", "client", "server" keywords → GitHub; otherwise → docs.featbit.co
User Question
↓
[MANDATORY Step 1] Load Routing Rules
↓
Use fs_read to completely read the following files (do NOT set line limits):
- references/page-map.md (29 documentation page mappings)
- references/keywords.md (keyword matching priority rules)
[IMPORTANT] usage.md is for humans, Agent does NOT need to load it.
↓
Identify question type and platform according to keywords.md rules
↓
Locate relevant documentation pages from page-map.md (note SDK vs other docs hosting difference)
↓
Use webReader to fetch page content (GitHub URLs for SDK, docs.featbit.co for others)
↓
Answer question based on page content
↓
Attach source links
## Answer
To integrate .NET SDK, follow these steps...
### Code Example
\`\`\`csharp
using FeatBit.ServerSdk;
var client = FbClient.Create(...);
\`\`\`
---
**Source**: [.NET Server SDK](https://github.com/featbit/featbit-dotnet-sdk)
No answer in documentation:
Sorry, the official documentation does not contain information about "xxx".
Please check [Official Documentation](https://docs.featbit.co/) or ask in [GitHub Issues](https://github.com/featbit/featbit/issues).
Multiple relevant pages:
Based on your question, the following documentation may be relevant:
1. [Page 1 Title](URL1) - Brief description
2. [Page 2 Title](URL2) - Brief description
NEVER assume all docs are on docs.featbit.co
NEVER use LaunchDarkly or other competitor docs to infer
NEVER cache documentation content for more than 24 hours
NEVER confuse SDK Key and Environment Secret
NEVER answer with generic "feature flag" concepts
NEVER ignore platform differences
Location: scripts/query.py
Use Case: Quick documentation page location (no full answer needed)
from scripts.query import FeatBitDocFinder
# Find relevant pages
pages = FeatBitDocFinder.find_pages("How to integrate .NET SDK")
# Output:
# [
# {
# "url": "https://github.com/featbit/featbit-dotnet-sdk",
# "category": "sdk",
# "reason": "Matched category: sdk, platform: dotnet"
# }
# ]
Command Line Usage:
# Query pages
python scripts/query.py "How to configure targeting rules"
# List all pages
python scripts/query.py --list-pages
# JSON output
python scripts/query.py "Where to find SDK key?" --json
Note: This tool is only for page location. Full Q&A still requires fetching page content.
| Question Type | Keywords | Hosting | Example |
|---|---|---|---|
| SDK Integration | sdk, integration, initialize, client, server | GitHub | "How to integrate React SDK?" |
| Deployment Operations | deployment, docker, kubernetes, helm | docs.featbit.co | "Docker deployment steps" |
| Feature Management | feature flag, toggle, targeting, rollout, ab test | docs.featbit.co | "How to configure targeting rules?" |
| Configuration Management | sdk key, secret, environment, webhook | docs.featbit.co | "Where to find SDK key?" |
Precise Location: Does the question contain platform/category keywords?
keywords.md rules for precise matchinghttps://docs.featbit.co/Documentation Location: Is this an SDK question or other question?
page-map.mdTimeliness: Does this type of information change frequently?
Completeness: Does the user need operational steps or concept explanation?
| Symptom | Possible Cause | Solution |
|---|---|---|
| 404 Error | URL expired | Check if page-map.md needs update |
| Empty Content | GitHub README in non-standard location | Try fetching repository root directory |
| Incomplete Content | webReader parsing issue | Try fetching directly from raw.githubusercontent.com |
Edit PAGES dictionary in scripts/query.py:
PAGES = {
"sdk": {
"new-platform": "https://github.com/featbit/featbit-new-platform-sdk",
},
"deployment": {
"new-platform": "https://docs.featbit.co/installation/new-platform",
},
}
Edit KEYWORDS dictionary in scripts/query.py:
KEYWORDS = {
"new-platform": ["new-platform", "np", "new platform"],
}
Important: When modifying, also update:
references/page-map.md - Documentation mappingreferences/keywords.md - Keyword rules