nlpbook

Code for the book

A new way for AI to search for data
View on GitHub
1GitHub stars
16commits on main
0forks

Python 65.9%, Java 34.1% · created 2021-07-23 · last push 2026-10-23

What XERJ indexed

Snapshot

143 files · 5.6 MB

The whole repository at commit 7ffed6bc51 (2026-10-23). It is the newest commit on main.

Selected work

tsalidis
@tsalidis

“Updates for the new version”. 43 files, 1,447 lines in Programming.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-25. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

Example questions

The prompt

Paste it into your AI agent. It clones tsalidis/nlpbook at the pinned commit and indexes it on your machine.

Search the GitHub repository tsalidis/nlpbook with XERJ (https://hub.xerj.org/corpus/tsalidis--nlpbook).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/tsalidis/nlpbook nlpbook && git -C nlpbook checkout 7ffed6bc51c6333aab3eb3fa461853ed646559da
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./nlpbook --url http://127.0.0.1:9200 --prefix nlpbook --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: GPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.