Skip to content

harsh/optimizations/embeddings#61

Merged
harshkedia177 merged 2 commits intomainfrom
harsh/optimizations/embeddings
Mar 25, 2026
Merged

harsh/optimizations/embeddings#61
harshkedia177 merged 2 commits intomainfrom
harsh/optimizations/embeddings

Conversation

@harshkedia177
Copy link
Copy Markdown
Owner

  • refactor: optimize embedding process and enhance pipeline logging
  • feat(embeddings): add dimension validation to NodeEmbedding

- Introduced a new `_embed_node_list` function to streamline the embedding of graph nodes, improving code reusability.
- Updated the `embed_graph` and `embed_nodes` functions to utilize the new embedding method, enhancing clarity and maintainability.
- Increased the default batch size for embeddings from 64 to 256 for improved performance.
- Added logging to track the timing of various phases in the pipeline, providing better insights into processing durations.
- Cleaned up the Kuzu backend to manage embeddings more efficiently, including a mechanism to wipe the embeddings table before bulk loading.
- Adjusted tests to reflect changes in embedding parameters and batch sizes.
@harshkedia177 harshkedia177 merged commit afc30cf into main Mar 25, 2026
1 check passed
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.

1 participant