feat: embeddings similarity
Problem
We want to use the embeddings of session replays being generated since https://github.com/PostHog/posthog/pull/20046 to see if we can extract similar recordings
Changes
- Find embeddings for a target recording
- Use ClickHouse distance functions to find nearest neighbours
- Setup feature flag and simple frontend UI to test easily
How did you test this code?
Behind a feature flag for now while we test
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)webkit: 0 added, 0 modified, 0 deleted
Triggered by this commit.
Size Change: +161 B (0%)
Total Size: 864 kB
âšī¸ View Unchanged
| Filename | Size | Change |
|---|---|---|
frontend/dist/toolbar.js |
864 kB | +161 B (0%) |
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)webkit: 0 added, 0 modified, 0 deleted
Triggered by this commit.
Hey @daibhin! đ This pull request seems to contain no description. Please add useful context, rationale, and/or any other information that will help make sense of this change now and in the distant Mars-based future.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)webkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
chromium: 0 added, 0 modified, 0 deletedwebkit: 0 added, 1 modified, 0 deleted (diff for shard 2)
Triggered by this commit.
Suspect Issues
This pull request was deployed and Sentry observed the following issues:
- âŧī¸ CHQueryErrorIncorrectResultOfScalarSubquery: Code: 125.
/api/projects/{parent_lookup_team_id}/session_r...View Issue
Did you find this useful? React with a đ or đ