feat: add dakera-haystack integration — self-hosted persistent memory for Haystack pipelines#3515
Open
ferhimedamine wants to merge 4 commits into
Open
feat: add dakera-haystack integration — self-hosted persistent memory for Haystack pipelines#3515ferhimedamine wants to merge 4 commits into
ferhimedamine wants to merge 4 commits into
Conversation
New integration package: integrations/dakera/ Provides: - DakeraMemoryStore: httpx-based client for Dakera REST API POST /v1/memories (store) + POST /v1/memories/search (recall) - DakeraMemoryRetriever: @component wrapping store.search_memories() - DakeraMemoryWriter: @component wrapping store.store_memories() - Unit tests using respx HTTP mocking (no live server needed) Follows the mem0-haystack package structure exactly. Package name: dakera-haystack (pip install dakera-haystack) Version tag: integrations/dakera-v* Self-host: docker run -p 3000:3000 dakera/dakera:latest
Author
|
Fixing the |
Author
|
I have read the CLA Document and I hereby sign the CLA |
…build CI The CI runs 'hatch run docs:build' which requires: - haystack-pydoc-tools in [tool.hatch.envs.default] dependencies - docs script in [tool.hatch.envs.default.scripts] - pydoc/config_docusaurus.yml pointing to our public module paths Co-Authored-By: Paperclip <noreply@paperclip.ing>
Author
|
Fixed the
Added all three in the latest commit, following the pattern from |
Author
|
I have read the CLA Document and I hereby sign the CLA |
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 #3516
Summary
Adds a new integration package
integrations/dakera/providing self-hosted persistent vector memory for Haystack pipelines via Dakera.Package name:
dakera-haystack(followingmem0-haystack,opensearch-haystacknaming)Version tag:
integrations/dakera-v*This follows the exact structure of
integrations/mem0/: samepyproject.tomlwith hatch-vcs versioning, samesrc/haystack_integrations/namespace layout, samerespx-based tests (no live server needed for CI).Components
DakeraMemoryStoreSecretorDAKERA_API_KEYenv varDakeraMemoryRetriever@componentsearch_memories()for pipeline use; outputsmemories=List[str]DakeraMemoryWriter@componentstore_memories()for pipeline use; outputsmemories_written=intUsage in a Haystack pipeline
Why Dakera vs existing memory integrations
Dakera is the only fully self-hosted option —
mem0-haystackrequires a cloud API key:Self-host:
docker run -p 3000:3000 -e DAKERA_API_KEY=key dakera/dakera:latestTests
Unit tests in
integrations/dakera/tests/userespxfor HTTP mocking — no live Dakera server needed for CI:Package structure