mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-26 11:28:29 +00:00
- Implement space assignment queue and worker for BullMQ - Add native Cypher cosine similarity function to replace GDS dependency - Make Trigger.dev environment variables optional (only required when QUEUE_PROVIDER=trigger) - Add EMBEDDING_MODEL_SIZE configuration for vector index management - Update vector search queries to use native Neo4j vector search with score - Add Neo4j utility scripts for index management and troubleshooting - Update documentation with embedding model configuration and vector index recreation steps
20 lines
527 B
Plaintext
20 lines
527 B
Plaintext
// Check vector index configuration including dimensions
|
|
SHOW INDEXES
|
|
YIELD name, type, labelsOrTypes, properties, options
|
|
WHERE type = 'VECTOR'
|
|
RETURN
|
|
name,
|
|
type,
|
|
labelsOrTypes,
|
|
properties,
|
|
options.indexConfig AS indexConfig;
|
|
|
|
// Specifically check the dimensions
|
|
SHOW INDEXES
|
|
YIELD name, options
|
|
WHERE name IN ['entity_embedding', 'statement_embedding', 'episode_embedding']
|
|
RETURN
|
|
name,
|
|
options.indexConfig['vector.dimensions'] AS dimensions,
|
|
options.indexConfig['vector.similarity_function'] AS similarity;
|