feat(cohere): Support data_collection filtering for inputs and outputs - #7289
Open
ericapisani wants to merge 1 commit into
Open
feat(cohere): Support data_collection filtering for inputs and outputs#7289ericapisani wants to merge 1 commit into
ericapisani wants to merge 1 commit into
Conversation
Respect the data_collection.gen_ai.inputs/outputs config option when capturing chat/embed request and response data, falling back to the legacy send_default_pii + include_prompts behavior when not set. Fixes PY-2747 Fixes #7282
ericapisani
marked this pull request as ready for review
August 28, 2026 18:07
Contributor
Codecov Results 📊✅ 120929 passed | ⏭️ 6762 skipped | Total: 127691 | Pass Rate: 94.7% | Execution Time: 430m 32s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2491 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 90.29% 90.29% —%
==========================================
Files 193 193 —
Lines 25601 25658 +57
Branches 9436 9458 +22
==========================================
+ Hits 23116 23167 +51
- Misses 2485 2491 +6
- Partials 1435 1441 +6Generated by Codecov Action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Respect the data_collection.gen_ai.inputs/outputs config option when
capturing chat/embed request and response data, falling back to the
legacy send_default_pii + include_prompts behavior when not set.
Fixes PY-2747
Fixes #7282