跳到主要内容

SciencePedia Commands: wiki

bohr wiki searches SciencePedia and retrieves articles, keywords, disciplines, courses, and knowledge graphs.

Commands

CommandUsageDescription
articlebohr wiki article <entry_id> [flags]Fetch the full SciencePedia article for a given wiki entry ID ….
coursebohr wiki course <field-id> [flags]Get a SciencePedia field course outline.
disciplinesbohr wiki disciplines [flags]Compatibility alias for wiki levels.
graphbohr wiki graph <id> [flags]Retrieve the knowledge graph for a SciencePedia entry ….
keywordbohr wiki keyword [command]List and retrieve SciencePedia keywords.
levelsbohr wiki levels [flags]List the top-level scientific disciplines available in SciencePedia ….
searchbohr wiki search <query> [flags]Search the SciencePedia for scientific terms, keywords, and courses.

For subcommands inside a command group, run bohr wiki <group> --help.

Common parameters

ParameterDescription
--lang <language>Output language, for example en-US or zh-CN
--style <style>Article generation style, for example Feynman
--page-size <number>Keyword page size, default 20
--page-num <number>Keyword page number, default 1

Examples

bohr wiki search "quantum entanglement" --lang zh-CN
bohr wiki article entry-abc123 --style Feynman
bohr wiki keyword list --page-size 50
bohr wiki course heat_and_thermodynamics_undergraduate --lang zh-CN

Search, generated articles, keyword details, courses, and graphs are charged by request. Use IDs returned by previous SciencePedia commands.