Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

feat: add experiment smart group base text embedding #99

Closed
wants to merge 3 commits into from

Conversation

lawvs
Copy link
Collaborator

@lawvs lawvs commented Jan 7, 2024

This PR is only for verification purposes, please do not merge it.

I made an attempt to group tabs based on the text embedded from the link preview, but the insufficient information provided in the preview led to unsatisfactory results.

Here are some example data:

{
  "url": "https://github.com/",
  "type": "Books",  // It should be grouped into the Productivity category instead of Game or Books
  "similarity": 0.7600699589640771,
  "preview": {
    "description": "GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...",
    "siteName": "GitHub",
    "title": "GitHub: Let’s build from here",
    "url": "https://github.com/"
  }
}
{
  "url": "https://en.wikipedia.org/wiki/",
  "type": "News", // There should be better options
  "similarity": 0.785299761399085,
  "preview": {
    "url": "https://en.wikipedia.org/wiki/Main_Page",
    "title": "Wikipedia, the free encyclopedia"
  }
}
{
  "url": "https://www.xiaohongshu.com/",
  "type": "Travel", // Not bad
  "similarity": 0.785504850187694,
  "preview": {
    "url": "http://www.xiaohongshu.com/explore",
    "description": "2 亿人的生活经验,都在小红书"
  }
}

References

@lawvs lawvs closed this Jan 7, 2024
@lawvs lawvs deleted the feat/experiment-embedding branch January 7, 2024 18:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant