Cyberlibrary Semantic Search
cyberlibrary_semantic_searchSemantic passage search over a neural embedding index: describe what you are looking for in natural language and get the closest passages, each with a permanent chunk_id, book/chapter/paragraph, citation, license and source URL. When to use: keyword/BM25 search misses paraphrases or themes ("a story about a soldier returning from war", "清代公案小说里的侠客"). Do not use: to verify an exact quotation (cyberlibrary_verify_quote) or to read a whole book (cyberlibrary_get_chunks). Falls back to BM25 if the embedding service is down. Returns: {query, lang, backend, total_vectors, corpus_version, results[{chunk_id, score, title, author, chapter, para, citation, url, license, snippet}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Optional language filter, e.g. zh-cn, en. | |
| limit | No | Max passages (1-30). Default 10. | |
| query | Yes | Natural-language description (2-300 chars). |