feat(n8n): add Ollama embeddings to duplicate detector - #28
Merged
Skull-boy merged 1 commit intoSep 2, 2026
Merged
Conversation
3 tasks
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.
Closes #5
Background
The duplicate issue detector currently requires OpenAI embeddings. That prevents fully local, private deployments even though the repository already uses Ollama for other workflow integrations.
Changes
data[0].embedding) and Ollama (embeddings[0]) response shapes with a clear error for malformed responses.Compatibility
OpenAI remains the default and existing OpenAI/Qdrant behavior is unchanged. Ollama is opt-in and uses
nomic-embed-textby default. Because embedding dimensions are part of the Qdrant collection contract, the README requires a 768-dimensional collection fornomic-embed-textand a full backfill after switching.Validation
python -m pytest -q tests/test_duplicate_issue_detector_workflow.py— passed.python -m pytest -q tests --basetemp .pytest-tmp— passed (60 tests).python scripts/validate_contracts.pywithPYTHONPATH=src— passed (5 contracts).python -m ruff check tests/test_duplicate_issue_detector_workflow.py— passed.python -m compileall -q src scripts tests— passed.implementations/n8n/duplicate-issue-detector/workflow.json— passed.python -m build --wheel --no-isolation— passed.AI disclosure
This pull request was prepared with AI assistance. The implementation was reviewed against the issue acceptance criteria, and all added behavior is covered by a deterministic local regression test.