Skip to content

fix(docs): correct docstrings for find_similar in Descriptors#678

Merged
luisremis merged 8 commits into
developfrom
fix/542-fix-docstring-find-similar
May 20, 2026
Merged

fix(docs): correct docstrings for find_similar in Descriptors#678
luisremis merged 8 commits into
developfrom
fix/542-fix-docstring-find-similar

Conversation

@ad-claw000
Copy link
Copy Markdown
Contributor

Closes #542.

The docstrings for find_similar and find_similar_mmr incorrectly referred to the input vector as 'Input descriptor set vector'. This PR fixes it to 'Input descriptor vector'.

@ad-claw000 ad-claw000 self-assigned this May 19, 2026
@ad-claw000 ad-claw000 requested a review from luisremis May 19, 2026 05:03
@ad-claw000 ad-claw000 force-pushed the fix/542-fix-docstring-find-similar branch from d24f56a to 1941503 Compare May 20, 2026 01:05
Copy link
Copy Markdown
Contributor Author

@ad-claw000 ad-claw000 left a comment

Choose a reason for hiding this comment

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

Applied autopep8 formatting to the new log messages to fix the pre-commit CI failure.

Copilot AI review requested due to automatic review settings May 20, 2026 06:45
luisremis
luisremis previously approved these changes May 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Descriptors object wrapper documentation to correct the wording around find_similar / find_similar_mmr, aligning the description of the input vector with descriptor (not descriptor set) usage, per issue #542.

Changes:

  • Adjusted find_similar docstring to describe searching for similar descriptors and corrected the vector parameter description.
  • Adjusted find_similar_mmr docstring to correct the vector parameter description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread aperturedb/Descriptors.py Outdated
Comment thread aperturedb/Descriptors.py Outdated
@luisremis luisremis merged commit 69aaeb9 into develop May 20, 2026
3 checks passed
@luisremis luisremis deleted the fix/542-fix-docstring-find-similar branch May 20, 2026 15:51
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.

Incorrect description and parameters on find_similar

3 participants