Repository navigation
fix(cognee): preserve native embedding metadata and span kind - #524
Merged
Merged
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
Filter native content before projecting aliases using the global input/output privacy policy. Add unit and native OTLP directional regressions, and compare runtime version against installed package metadata. Co-Authored-By: Claude Code <noreply@anthropic.com>
Merged
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.
Summary
Fix the remaining Cognee recall-review finding without adding instrumentation or duplicate spans.
gen_ai.provider.nameandgen_ai.embeddings.dimension.countthrough the destination-local privacy projection, using the existing value/wire guards.fi.span.kind=EMBEDDINGfrom nativegen_ai.operation.name=embeddings; retain explicitly supplied kind attributes and existing LLM/retriever mappings.Validation
All test execution used synthetic data/credentials under an OS sandbox denying outbound network except loopback.
git diff --checkpassed.Release / docs
This updates an already published package; no new PyPI project is needed. Release through the existing release-please entry after review/merge. No registry publication or merge was performed.
Existing docs PR: future-agi/docs#1044 (reused, not duplicated). Its basic tracing guide installs the already-published 0.1.0 adapter and makes no claim about the new embedding metadata fix. The exact guide snippet passes with registry-only Cognee 1.6.6 + traceai-cognee 0.1.0 against synthetic loopback services (136 spans, one trace, unique IDs, content excluded). The package fix needs a subsequent adapter release before customers receive the new embedding behavior.
No real provider-key or Future AGI Cloud verification is claimed.
🤖 Generated with Claude Code