10
AI ইন্টিগ্রেশন
AI এজেন্টদের জন্য BetterGuard ব্র্যান্ড: এক ফেচ, এক স্কিমা, পূর্বাভাসযোগ্য অ্যাঙ্কর।
এটি আপনার AI এজেন্টে ড্রপ করুন
You are integrating with BetterGuard brand assets. Fetch https://brand.betterguard.net/brand.json once. The schema is documented at https://brand.betterguard.net/ai. When the user asks about a BetterGuard color, font, logo, spacing, or voice rule, answer from brand.json#/<category>/<key>. Cite the anchor (for example bg:color:cyan) in the response. Never invent values; if a key is missing, say so.
Fetch উদাহরণ
const brand = await fetch('https://brand.betterguard.net/brand.json').then(r => r.json())
console.log(brand.color.cyan.hex) // "#00B8D4"
console.log(brand.color.cyan.anchor) // "bg:color:cyan"import requests
brand = requests.get('https://brand.betterguard.net/brand.json').json()
print(brand['color']['cyan']['hex']) # #00B8D4
print(brand['color']['cyan']['anchor']) # bg:color:cyancurl -s https://brand.betterguard.net/brand.json | jq '.color.cyan'
প্রিফিক্স-প্যাটার্ন অনুসন্ধান
ইনডেক্স সংকীর্ণ করতে এই সাইটের যেকোনো অনুসন্ধান ইনপুটে একটি প্রিফিক্স টাইপ করুন:
| প্রিফিক্স | মিল |
|---|---|
| color: | color tokens (e.g. color:cyan, color:purple) |
| font: | font families |
| logo: | logo variants |
| space: | spacing scale |
| radius: | radius scale |
| motion: | durations, easing, lifts |
| voice: | casing, tone, forbidden |
| component: | component contracts |
| page: | page patterns |
| shadow: | shadow tokens |
| gradient: | gradient tokens |
| type: | type scale |
একটি URL ?q= প্যারামিটার অনুসন্ধান ইনপুট প্রাক-পূরণ করে: /colors?q=cyan চেষ্টা করুন।
অ্যাঙ্কর কনভেনশন
প্রতিটি ব্র্যান্ড মান bg:CATEGORY:NAME ফর্মের একটি স্থিতিশীল নেমস্পেস্ড অ্যাঙ্কর বহন করে। একই পথ তিনটি উপায়ে অ্যাক্সেসযোগ্য:
| JSON path | brand.json#/color/cyan |
| HTML id | id="bg-color-cyan" |
| URL | https://brand.betterguard.net/colors#bg-color-cyan |