Files
miku-discord/cheshire-cat/test_recall.py
koko210Serve ae1e0aa144 add: cheshire-cat configuration, tooling, tests, and documentation
Configuration:
- .env.example, .gitignore, compose.yml (main docker compose)
- docker-compose-amd.yml (ROCm), docker-compose-macos.yml
- start.sh, stop.sh convenience scripts
- LICENSE (Apache 2.0, from upstream Cheshire Cat)

Memory management utilities:
- analyze_consolidation.py, manual_consolidation.py, verify_consolidation.py
- check_memories.py, extract_declarative_facts.py, store_declarative_facts.py
- compare_systems.py (system comparison tool)
- benchmark_cat.py, streaming_benchmark.py, streaming_benchmark_v2.py

Test suite:
- quick_test.py, test_setup.py, test_setup_simple.py
- test_consolidation_direct.py, test_declarative_recall.py, test_recall.py
- test_end_to_end.py, test_full_pipeline.py
- test_phase2.py, test_phase2_comprehensive.py

Documentation:
- README.md, QUICK_START.txt, TEST_README.md, SETUP_COMPLETE.md
- PHASE2_IMPLEMENTATION_NOTES.md, PHASE2_TEST_RESULTS.md
- POST_OPTIMIZATION_ANALYSIS.md
2026-03-04 00:51:14 +02:00

33 lines
984 B
Python

from cat.mad_hatter.mad_hatter import MadHatter
from cat.memory.vector_memory import VectorMemoryCollection
from qdrant_client import QdrantClient
# Connect to Qdrant
client = QdrantClient(host="localhost", port=6333)
# Check if collections exist
collections = client.get_collections()
print("Collections:", [c.name for c in collections.collections])
# Try to query episodic directly
episodic_points = client.scroll(
collection_name="episodic",
limit=5,
with_payload=True,
with_vectors=False
)
print(f"\nEpisodic memories found: {len(episodic_points[0])}")
for point in episodic_points[0]:
print(f" - {point.payload.get('page_content', '')[:100]}")
# Try declarative
declarative_points = client.scroll(
collection_name="declarative",
limit=5,
with_payload=True,
with_vectors=False
)
print(f"\nDeclarative facts found: {len(declarative_points[0])}")
for point in declarative_points[0]:
print(f" - {point.payload.get('page_content', '')}")