Skip to content

fix(vector-stores): index Valkey memory as text#5014

Open
haosenwang1018 wants to merge 1 commit intomem0ai:mainfrom
haosenwang1018:fix/valkey-memory-text-index
Open

fix(vector-stores): index Valkey memory as text#5014
haosenwang1018 wants to merge 1 commit intomem0ai:mainfrom
haosenwang1018:fix/valkey-memory-text-index

Conversation

@haosenwang1018
Copy link
Copy Markdown

@haosenwang1018 haosenwang1018 commented Apr 29, 2026

Summary

  • Change the Valkey vector store index schema so the memory field is created as TEXT instead of TAG.
  • Add a regression test for the generated FT.CREATE schema.

Closes #5006.

Testing

  • uv run --with pytest --with ruff --with valkey python -m pytest tests/vector_stores/test_valkey.py -q
  • uv run --with ruff ruff check mem0/vector_stores/valkey.py tests/vector_stores/test_valkey.py

@haosenwang1018 haosenwang1018 force-pushed the fix/valkey-memory-text-index branch from 107b07f to 17eaf64 Compare April 29, 2026 10:06
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.

Valkey vector store: memory field should use TEXT index type instead of TAG

1 participant