Skip to content

Documentation

The business dictionary of the store: what each object means, what is missing, the views and tables attached to the store, and the glossary of company terms.

Where Find & understand
Who sees it Objects and Glossary: all four profiles. Coverage: Data scientist, Data engineer, Admin. Attached: Data engineer, Admin.
Writes to the store Edit, Protect, Release, Document selected, Attach, Detach, Document missing, Update vector index, and the Glossary edits. Each shows what it will do first.
Valid-time banner Not followed: the page shows the current state, and the banner says so.

The page has four tabs.

Objects

All documented objects with filters (kind, documentation status, index status, data domain, text). Click a row to read its documentation, status and provenance (generated, imported, written by hand, propagated). Edit writes documentation by hand; Protect and Release keep or free a part against regeneration; Document selected runs the LLM on the selection. Source tables and views can be attached or detached from here.

  • Writes: Edit, Protect, Release, Document selected, Attach, Detach.
  • Banner: shows the current state.

Objects lists every object with filters (kind, documentation status, index status, data domain, text). Clicking a row shows its documentation as in the Lineage panel, with its status.

Let the assistant propose a description

In Objects › Edit, a description or a section that is still blank has a Suggest with the assistant button (Data engineer profile and above). It asks the instruct model to write the text from what is already documented on the object: its column descriptions, its other sections and its key columns. It is disabled, with the reason as tooltip, when no instruct model is configured.

  • The answer only fills the field, marked Suggested by the assistant (generated) - not saved. Edit it as you like, then use Review changes and Confirm: nothing is written before that, and the text is then recorded as written by you (protected from later LLM runs).
  • The text follows the language of the existing documentation (English when there is none). An error from the model is shown in full under the form.
  • Corrections are reused. When you change a suggestion before confirming, the pair (suggestion, your text) is kept in ~/.tdfs4ds/assist_corrections.json (per store, the last 50). The most recent ones of the same kind, and the corrections you made earlier in the same open form, are shown to the model as examples in the next suggestions; your wording wins. No database table is used.
  • Set tdfs4ds.DOCUMENTATION_ASSIST_EXAMPLES (env TDFS4DS_DOCUMENTATION_ASSIST_EXAMPLES, default 3) to 0 to send no examples.

Coverage

What is documented, partial or missing, and the state of the vector index. Profiles: Data scientist, Data engineer and Admin. Writes: Document missing and Update vector index.

Objects counted

Kind Complete when
Process its view has a description and every feature column has one
Feature its column of the process view has a description
Dataset it has a description and the five sections (OVERVIEW, ENTITY, FEATURE_THEMES, BUSINESS_QUESTIONS, INTENDED_AUDIENCE)
Intermediate view it has a description (views between sources and process views, from the lineage graph)
Source table it has a description. tdfs4ds never generates these: write them in Objects › Edit documentation, with tdfs4ds.set_object_documentation, or load a data dictionary with upload_business_dictionary_objects (see Writing documentation by hand)

An object with some documentation but not all of it is partial; a blank description counts as missing. The feature store's own tables (FS_T_*, *_HIDDEN) are not counted. Lineage nodes that are not objects of the database (tokens the lineage builder stored as names, such as APPLY) are left out and listed. Documentation of objects the store no longer has is listed as well.

Vector index status, per documented row:

  • Chroma: exact. The expected documents are built as build_vector_index builds them, then compared with what the collection stores: indexed, stale (text, metadata or embedding model changed) or not indexed. Ids stored but no longer documented are counted as orphans.
  • Teradata Vector Store: inferred. The service exposes no reliable per-row membership (its embeddings are keyed by a row position recomputed on refresh). A row is indexed (inferred) when its collection is ready and the row was documented before the collection's last update, and pending when it was documented after. A missing, failed or building collection is shown as such.

An object takes the worst status of its rows.

Coverage shows, per kind, documented / partial / missing with the index issues, one line per collection (status, last update), and the lists of gaps. A gap opens the object in Objects. Export gaps downloads them as CSV.

Documentation older than what it describes lists documented objects whose documentation was written before:

  • their own view was replaced (REPLACE VIEW, read from DBC.TablesV.LastAlterTimeStamp);
  • a view they read, directly or through other views, was replaced (TimeManager and FilterManager views are left out: they are replaced at every step by design);
  • for a dataset, the documentation of one of its processes changed (a dataset's documentation is propagated from its processes).

The oldest documented part counts: a feature description written before the view was replaced is out of date even if the object's description was edited later. A REPLACE VIEW with the same text counts too, since only the date is compared. Source tables are not checked (their date also moves on operations that do not change what they mean), nor are other stores' objects (their documentation date is not read). Regenerate with tdfs4ds.rebuild_documentation(objects=[...]); documentation written by hand or imported is kept, so review that yourself.

Actions, streamed with a live log:

  • Document missing (Coverage) or Document selected (Objects): documents each object (a process with document_process_incremental, a dataset with document_dataset_incremental, an intermediate view as rebuild_documentation does; source tables are skipped), then updates the vector index. A process is documented once even when several of its features are selected.
  • Update vector index: build_vector_index(force_rebuild=False). On Chroma it embeds only missing or changed rows.

Attached

Views and tables declared inside the feature store without being processes or datasets: a view that joins a dataset with a source table, a table brought in by hand. Suggestions, an attach preview (dry run), detach, a check of what changed since, and a cancellable sample read gated by an EXPLAIN estimate. See Writing documentation by hand. Writes: Attach, Detach, refresh. Banner: current state.

The checks and samples on this tab read only; Attach, Detach and refresh write. The sample of an attached view is gated by an EXPLAIN estimate and is a job you can cancel.

Glossary

The terms and acronyms of your company. The documentation the LLM writes and the assistant's answers use them, and a generated text that contradicts a term is corrected. A term applies to the whole store or to one data domain (a domain term wins over the store one).

  • Terms list. Filter by text or by data domain. Refresh reads again. Export XLSX downloads the glossary.
  • Add or edit a term (Data engineer and Admin). Give the term, the data domain (several domains write one row each; whole store alone applies to every domain), the meaning, synonyms (separated by | or ;), notes and your name, which is recorded with the term. Preview shows what would be written; Confirm writes it. Remove… previews then confirms the end of a term's validity (its history stays readable).
  • Import a sheet. An XLSX or CSV with TERM, MEANING and optionally SYNONYMS, DATA_DOMAIN, NOTES (the layout of Export). Preview the import, then import. Nothing is deleted. Imported terms are recorded as imported.
  • Terms of read-only stores are shown, read only.

Writes: Confirm, Confirm removal and Import. Banner: current state.

Do the same in Python

The (?) button in the top bar opens a standalone script for this page. It asks for the password with getpass, never writes to the store, and can be copied or downloaded.

Per tab, the scripts export the documentation to Excel and read the documentation of an object (tdfs4ds.export_documentation, tdfs4ds.get_documentation), write the coverage report (tdfs4ds.write_documentation_coverage), list and check attached objects (tdfs4ds.attached_objects, tdfs4ds.suggest_attachments, tdfs4ds.refresh_attached_objects) and list or export the glossary (tdfs4ds.get_glossary, tdfs4ds.export_glossary). Edits, rebuilds and attaching are comments in the script.

Go further