search

Semantic Search

Semantic search using pgvector embedding similarity.

语义搜索。基于向量相似度在 34.7 万段经文中检索语义最相关的内容。支持按朝代、分类、语言和数据源筛选。

get/api/search/semantic

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/search/semantic
  • Auth: none declared

Query parameters

qstring

语义搜索关键词

sizeinteger

返回数量

dynastystring nullable

朝代筛选

categorystring nullable

分类筛选

langstring nullable

语言筛选 (lzh/pi/sa/bo/en)

sourcesstring nullable

数据源筛选,逗号分隔 (cbeta,suttacentral,gretil)

canonstring nullable

藏经筛选,逗号分隔 (taisho/xuzang/pali/kangyur/gretil…)

sectionstring nullable

大正藏部类筛选,逗号分隔 (agama/prajna/avatamsaka/vinaya…)

Response

Successful Response

totalinteger required
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.