LLM-friendly knowledge/API layer generated from the local T-FLEX DOCs 15.4.0.28 documentation set.
The repository is designed for source-code search, RAG, AI agents and the companion T-FLEX-DOCS-15-MCP read-only MCP server.
t-flex-docs tflex pdm plm dotnet-api chm jsonl markdown llm rag mcp
raw/DOCsAPI.chm— .NET API reference supplied with T-FLEX DOCs.DOCs.chm— end-user and administration help.
llm/symbols.jsonl— compact API-symbol reference, one symbol per JSON line.llm/page_index.jsonl— compact searchable index of every API/manual page, with pointers to full-page shards.llm/pages/*.jsonl— normalized full documentation pages split into Git-friendly shards.llm/types/*.md— complete Markdown pages grouped by declaring .NET type.llm/page_locations.jsonl— page ID to shard/line mapping.llm/manifest.jsonandllm/pages_manifest.json— counts, source metadata and shard checksums.graph/static_nodes.jsonl— documentation/API graph nodes.graph/edges/*.jsonl— internal links and type-to-member containment edges.graph/capabilities.seed.jsonl— curated DOCs capability map for agent routing.scripts/convert_tflex_docs.py— reproducible CHM-to-dataset converter.scripts/cab_concat.c— small libarchive helper used for CHM LZX decompression on Linux.
| Dataset | Count |
|---|---|
| Documentation pages | 37,043 |
| API symbols | 29,538 |
| Declaring types / Markdown pages | 3,763 |
| Graph nodes | 37,043 |
| Graph edges | 463,658 |
| Capability seeds | 15 |
Symbol kinds:
| Kind | Count |
|---|---|
| Methods | 11,525 |
| Properties | 9,256 |
| Types | 3,763 |
| Fields | 3,170 |
| Overload groups | 1,398 |
| Namespaces | 300 |
| Events | 125 |
| Project root | 1 |
Assemblies represented in the source help include TFlex.DOCs.Model, TFlex.DOCs.Model.Processes, TFlex.Model.Technology, TFlex.DOCs.ProjectManagement, TFlex.DOCs.Common and TFlex.Reporting.
A symbol record contains fields such as:
{
"id": "M:TFlex.DOCs.Model.ServerConnection.Connect(System.String)",
"kind": "method",
"assembly": "TFlex.DOCs.Model",
"namespace": "TFlex.DOCs.Model",
"type": "TFlex.DOCs.Model.ServerConnection",
"name": "Connect",
"qualified_name": "TFlex.DOCs.Model.ServerConnection.Connect",
"signature": "...",
"summary": "...",
"page_shard": "llm/pages/api-004.jsonl",
"page_line": 1234
}A compact page-index record contains page metadata, a search excerpt and the exact shard/line pointer required to retrieve the full page.
- Use
llm/symbols.jsonlfor API member lookup and code generation. - Use
llm/page_index.jsonlfor fast help/manual search. - Resolve the returned
page_shardandpage_lineonly when full context is required. - Use
llm/types/*.mdwhen the model needs an entire class, interface, enum or delegate context. - Use
graph/edges/*.jsonlfor dependency traversal and declaring-type containment. - Use
graph/capabilities.seed.jsonlto map user intentions such as references, files, access rights, workflows and reports to relevant API symbols.
Linux prerequisites:
sudo apt-get install python3 build-essential libarchive-devPut the original CHM files in raw/, then run:
python3 scripts/convert_tflex_docs.py \
--raw raw \
--out . \
--work .work \
--shard-size-mb 24The converter:
- parses the CHM directory directly;
- reconstructs the reset-aligned LZX stream as a CAB container;
- uses libarchive to recover the uncompressed content stream;
- normalizes HTML and Windows-1251 text;
- builds symbol, page, Markdown, graph and manifest artifacts;
- corrects inconsistent CHM
containermetadata using a complete two-pass type index.
Intermediate CAB and decompressed stream files remain in .work/ and are excluded from Git.
Validate generated counts, checksums, symbol/type hierarchy, page pointers and graph endpoints with:
python3 scripts/validate_dataset.py .The same validation runs in .github/workflows/validate.yml.
The two original CHM files and generated indexes are intentionally committed as regular Git files. Every individual file is below GitHub's 100 MiB object limit; generated JSONL data is split into bounded shards.
The conversion code is licensed separately in LICENSE-CODE. That license does not relicense the T-FLEX DOCs documentation, CHM files, product names or generated documentation content. See NOTICE.md.