Repository navigation
feat!: rename AdditionalSourceInfo field and update clustering defaults - #35
Closed
fern-api[bot] wants to merge 1 commit into
Closed
fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
Rename the public Python attribute `nb_articles_for_7_d` to
`nb_articles_for7d` on `AdditionalSourceInfo`, which is a breaking
change for any caller accessing that field by name. Also adds the new
`qwen_embedding` field to `NlpDataEntity`, updates clustering threshold
defaults and documentation examples throughout, refreshes dependency
version constraints, and improves docstrings for NLP-related types.
Key changes:
- `AdditionalSourceInfo.nb_articles_for_7_d` renamed to `nb_articles_for7d` (breaking)
- `NlpDataEntity` gains new optional `qwen_embedding` field (Qwen3-Embedding-0.6B model)
- Clustering threshold default updated from 0.6 to 0.7; example range shifted accordingly
- Code examples updated to use relative date strings ("1 day ago") instead of `datetime` objects
- `aiohttp` minimum version bumped to >=3.13.4; `pytest` updated to ^9.0.3; `urllib3` constraint added
🌿 Generated with Fern
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.
Breaking: Renaming the public attribute
nb_articles_for_7_dtonb_articles_for7donAdditionalSourceInfobreaks any existing caller that accesses that field by its old name.Breaking Changes
AdditionalSourceInfo.nb_articles_for_7_dhas been renamed tonb_articles_for7d. Update any attribute access from.nb_articles_for_7_dto.nb_articles_for7d.Added
NlpDataEntity.qwen_embedding— new optional field providing a dense 1024-dimensional embedding generated by the Qwen3-Embedding-0.6B model, available for articles indexed from January 1, 2026 onward (requiresv3_nlp_embeddingsplan).Changed
ClusteringThresholddefault value updated from0.6to0.7; the documented example range has shifted to reflect updated similarity thresholds across all clustering-enabled endpoints.HasNlp/IncludeNlpDatatype aliases now document that NLP data is only available for articles indexed from July 2023 onward.NlpDataEntity.new_embeddingdocstring clarified to note availability only for articles indexed before January 1, 2026.See full changelog