Skip to content

fix: Limit the number of concepts retrieved through EmbeddingConceptFilter for unified interface#5

Merged
nicoloesch merged 2 commits into
mainfrom
limit_through_filter
Apr 15, 2026
Merged

fix: Limit the number of concepts retrieved through EmbeddingConceptFilter for unified interface#5
nicoloesch merged 2 commits into
mainfrom
limit_through_filter

Conversation

@nicoloesch
Copy link
Copy Markdown
Collaborator

Instead of having redundant filtering of returned nearest neighbours, we provide a unified interface using EmbeddingConceptFilter that allows to limit the number of concepts returned.

The commit also defines a global default limit of 10 concepts to not return all matches on each of the queries.

This commit brings it in line with changes of omop-graph and potentially the unified filtering system as part of omop-alchemy as described in this PR.

@nicoloesch nicoloesch merged commit 4bfa86b into main Apr 15, 2026
3 checks passed
@nicoloesch nicoloesch deleted the limit_through_filter branch April 15, 2026 04:25
github-actions Bot pushed a commit that referenced this pull request Apr 15, 2026
## [0.3.3](v0.3.2...v0.3.3) (2026-04-15)

### Bug Fixes

* Limit the number of concepts retrieved through EmbeddingConceptFilter for unified interface ([#5](#5)) ([4bfa86b](4bfa86b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant