Skip to content

docs: correct Workplace Assistant tool and database counts - #2314

Merged
ananthsub merged 1 commit into
NVIDIA-NeMo:mainfrom
ananthsub:ananthsub/docs-workplace-counts
Aug 5, 2026
Merged

docs: correct Workplace Assistant tool and database counts#2314
ananthsub merged 1 commit into
NVIDIA-NeMo:mainfrom
ananthsub:ananthsub/docs-workplace-counts

Conversation

@ananthsub

@ananthsub ananthsub commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The Workplace Assistant docs quote four different figures for the same environment: 26 tools / 5 databases, 27 tools / 5 databases, 27 tools / 6 databases, and 27 tools split as five toolkits plus a company directory.

get_tools in resources_servers/workplace_assistant/utils.py is the source of truth. It always registers the company directory lookup, then adds one toolkit per requested name. Running it with the five toolkits app.py seeds each session with:

functions: 27   schemas: 27
containers: analytics, calendar, company_directory, customer_relationship_manager, email, project_management
per-toolkit: email 6, analytics 6, calendar 5, project_management 5, crm 4, company_directory 1

So: 27 tools across five mutable databases plus a read-only company directory. is_correct (utils.py:166) compares final state for the five databases and not the company directory, which only exposes find_email_address.

Changes

  • evaluation/environment-list.mdx: 26 tools to 27 tools
  • generating-training-data.mdx: "27 tools across 6 databases" to five databases plus a company directory lookup
  • about-workplace-assistant.mdx: the 27 tools are the five databases plus the company directory, not 27 tools spread across five databases
  • environments/workplace_assistant/README.md and resources_servers/workplace_assistant/README.md: 26 tools to 27 tools

mcp-resources-server.mdx already matched the code and is unchanged.

Test

resources_servers/workplace_assistant/tests/test_docs_counts.py derives the count from get_tools and asserts every page and README that quotes it. Adding or removing a tool now fails a test instead of leaving the docs stale.

@copy-pr-bot

copy-pr-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ananthsub ananthsub added the documentation Improvements to documentation label Aug 4, 2026
@ananthsub
ananthsub requested review from adil-a and cmunley1 August 4, 2026 15:12
@ananthsub
ananthsub marked this pull request as ready for review August 4, 2026 15:12
@ananthsub ananthsub added the r0.5.0 Auto-cherrypick to release branch. Apply before merge; cherrypick happens after merge. label Aug 4, 2026
@ananthsub
ananthsub marked this pull request as draft August 4, 2026 15:19
@ananthsub
ananthsub marked this pull request as ready for review August 4, 2026 15:26
@github-actions github-actions Bot added the sla:review-overdue Review response is over the one-business-day SLA label Aug 5, 2026
@ananthsub
ananthsub force-pushed the ananthsub/docs-workplace-counts branch from 4a94773 to fa89282 Compare August 5, 2026 21:48
@ananthsub
ananthsub enabled auto-merge (squash) August 5, 2026 21:48
The Workplace Assistant docs quoted four different figures for the same
environment. `get_tools` in resources_servers/workplace_assistant/utils.py is
the source of truth: it always registers the company directory lookup, then adds
one toolkit per requested name. With the five toolkits app.py seeds each session
with, that is 27 tools across five mutable databases plus the company directory.

Corrected:
- evaluation/environment-list.mdx: 26 tools -> 27 tools
- generating-training-data.mdx: "27 tools across 6 databases" -> five databases
  plus a company directory lookup
- about-workplace-assistant.mdx: the 27 tools are the five databases plus the
  company directory, not 27 tools across five databases
- both workplace_assistant READMEs: 26 tools -> 27 tools

mcp-resources-server.mdx already matched the code and is unchanged.

Adds resources_servers/workplace_assistant/tests/test_docs_counts.py, which
derives the count from get_tools and asserts every page and README that quotes
it. Adding or removing a tool now fails a test instead of making the docs stale.

Signed-off-by: Ananth Subramaniam <ansubramania@nvidia.com>
@ananthsub
ananthsub force-pushed the ananthsub/docs-workplace-counts branch from fa89282 to 1bd140a Compare August 5, 2026 22:17
@ananthsub
ananthsub merged commit d055f37 into NVIDIA-NeMo:main Aug 5, 2026
9 checks passed
ananthsub added a commit that referenced this pull request Aug 5, 2026
…)` into `r0.5.0` (#2371)

beep boop [🤖]: Hi @ananthsub 👋,

    we've cherry picked #2314 into  for you! 🚀

    Please review and approve this cherry pick by your convenience!

Signed-off-by: Ananth Subramaniam <ansubramania@nvidia.com>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Co-authored-by: Ananth Subramaniam <ansubramania@nvidia.com>
OlegSudakov pushed a commit to OlegSudakov/Gym that referenced this pull request Aug 7, 2026
…Mo#2314)

The Workplace Assistant docs quote four different figures for the same
environment: 26 tools / 5 databases, 27 tools / 5 databases, 27 tools /
6 databases, and 27 tools split as five toolkits plus a company
directory.

`get_tools` in `resources_servers/workplace_assistant/utils.py` is the
source of truth. It always registers the company directory lookup, then
adds one toolkit per requested name. Running it with the five toolkits
`app.py` seeds each session with:

```
functions: 27   schemas: 27
containers: analytics, calendar, company_directory, customer_relationship_manager, email, project_management
per-toolkit: email 6, analytics 6, calendar 5, project_management 5, crm 4, company_directory 1
```

So: 27 tools across five mutable databases plus a read-only company
directory. `is_correct` (utils.py:166) compares final state for the five
databases and not the company directory, which only exposes
`find_email_address`.

## Changes

- `evaluation/environment-list.mdx`: 26 tools to 27 tools
- `generating-training-data.mdx`: "27 tools across 6 databases" to five
databases plus a company directory lookup
- `about-workplace-assistant.mdx`: the 27 tools are the five databases
plus the company directory, not 27 tools spread across five databases
- `environments/workplace_assistant/README.md` and
`resources_servers/workplace_assistant/README.md`: 26 tools to 27 tools

`mcp-resources-server.mdx` already matched the code and is unchanged.

## Test

`resources_servers/workplace_assistant/tests/test_docs_counts.py`
derives the count from `get_tools` and asserts every page and README
that quotes it. Adding or removing a tool now fails a test instead of
leaving the docs stale.

Signed-off-by: Ananth Subramaniam <ansubramania@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements to documentation r0.5.0 Auto-cherrypick to release branch. Apply before merge; cherrypick happens after merge. sla:review-overdue Review response is over the one-business-day SLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants