Skip to content

docs(js): fix copy-paste rule names and garbled sentence in maskingRules JSDoc - #3764

Open
simpleqt wants to merge 1 commit into
Arize-ai:mainfrom
simpleqt:sq917/masking-rules-jsdoc
Open

simpleqt wants to merge 1 commit into
Arize-ai:mainfrom
simpleqt:sq917/masking-rules-jsdoc

Conversation

@simpleqt

Copy link
Copy Markdown
Contributor

In js/packages/openinference-core/src/trace/trace-config/maskingRules.ts:

  • The @example blocks for maskInputTextContentRule, maskOutputTextContentRule, maskInputImagesRule, maskLongBase64ImageRule and maskEmbeddingVectorsRule all invoked maskOutputTextRule.condition(...) (copy-paste); each now invokes its own rule.
  • The TraceConfig doc sentence ended "...masking of llm.input_messages might happen with undefined might happen." — duplicated phrase removed.
  • Two malformed * * @example lines normalized to * @example.

JSDoc-only change.

…les JSDoc

- Five @example blocks invoked maskOutputTextRule.condition regardless
  of which rule they document; each now calls its own rule.
- The TraceConfig doc sentence ended '...might happen with undefined
  might happen.' (duplicated phrase).
- Two malformed '*  * @example' lines normalized to ' * @example'.
Copilot AI lite review requested due to automatic review settings September 16, 2026 17:38
@simpleqt
simpleqt requested a review from a team as a code owner September 16, 2026 17:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants