spellcheck

โดย brave

ใช้สำหรับแก้ไขการสะกดคำ ส่งคืนคำค้นหาที่แก้ไขแล้วหากสะกดผิด จุดสิ้นสุดการค้นหาส่วนใหญ่มีฟังก์ชันตรวจสอบการสะกดในตัว ใช้เฉพาะสำหรับการทำความสะอาดคำค้นหาก่อนการค้นหาหรือ…

npx skills add https://github.com/brave/brave-search-skills --skill spellcheck

Spellcheck

Requires API Key: Get one at https://api.search.brave.com

Plan: Included in the Spellcheck plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Quick Start (cURL)

curl -s "https://api.search.brave.com/res/v1/spellcheck/search" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=artifical inteligence" \
  --data-urlencode "lang=en" \
  --data-urlencode "country=US"

Endpoint

GET https://api.search.brave.com/res/v1/spellcheck/search

Authentication: X-Subscription-Token: <API_KEY> header

Parameters

ParameterTypeRequiredDefaultDescription
qstringYes—Query to spell check (1-400 chars, max 50 words)
langstringNoenLanguage preference (2+ char language code, e.g. en, fr, de, pt-br, zh-hans). 51 codes supported
countrystringNoUSSearch country (2-letter country code or ALL)

Response Fields

FieldTypeDescription
typestringAlways "spellcheck"
query.originalstringThe input query as submitted
resultsarraySpell-corrected suggestions. May be empty when no correction is found
results[].querystringA corrected version of the query

Example Response

{
  "type": "spellcheck",
  "query": {
    "original": "artifical inteligence"
  },
  "results": [
    {
      "query": "artificial intelligence"
    }
  ]
}

Use Cases

  • Pre-search query cleanup: Check spelling before deciding which search endpoint to call
  • "Did you mean?" UI: Show users a corrected suggestion before running the search
  • Batch query normalization: Clean up user inputs in bulk

Notes

  • Built-in alternative: Web Search and LLM Context have spellcheck=true by default — use this standalone endpoint only when you need the correction before searching
  • Context-aware: Corrections consider the full query context, not just individual words

Skills เพิ่มเติมจาก brave

pr
brave
Create a pull request for the current branch using `gh`.
make-ci-green
brave
เรียกใช้ CI jobs ที่ล้มเหลวอีกครั้งสำหรับ PR brave/brave-core ตรวจจับขั้นตอนที่ล้มเหลวและ
local-place-search
brave
ใช้สำหรับค้นหาสถานที่ในโลกทางกายภาพ เช่น ธุรกิจ จุดสนใจ (POIs) ที่อยู่ถนน เมือง และถนนหนทาง ผลลัพธ์ประกอบด้วยที่อยู่ พิกัด คะแนนรีวิว เวลาเปิดทำการ…
impl-review
brave
นำข้อเสนอแนะจากการตรวจสอบไปปรับใช้กับ Pull Request โดยเช็คเอาท์สาขาและนำไปใช้
bx
brave
ใช้สำหรับการค้นหาเว็บ วิจัย RAG การอ้างอิง การเรียกดู การค้นหา การตรวจสอบข้อเท็จจริง เอกสารประกอบ และ AI แบบเอเจนต์ ครบวงจร ปรับให้เหมาะสมสำหรับเอเจนต์ AI…
images-search
brave
ใช้สำหรับค้นหารูปภาพ คืนค่ารูปภาพพร้อมชื่อเรื่อง, URL ต้นทาง, และรูปขนาดย่อ รองรับตัวกรอง SafeSearch สูงสุด 200 ผลลัพธ์
llm-context
brave
ใช้สำหรับ RAG/LLM grounding. ส่งคืนเนื้อหาเว็บที่สกัดไว้ล่วงหน้า (ข้อความ ตาราง โค้ด) ซึ่งปรับให้เหมาะสมสำหรับ LLMs. GET + POST. ปรับ max_tokens/count ตามความซับซ้อน.…
local-descriptions
brave
ใช้สำหรับรับคำอธิบายข้อความ POI ที่สร้างโดย AI ต้องใช้รหัส POI ที่ได้จากการค้นหาเว็บ (พร้อม result_filter=locations) ส่งคืนคำอธิบายในรูปแบบ markdown…