cofacts / rumors-api

GraphQL API server for clients like rumors-site and rumors-line-bot
https://api.cofacts.tw
MIT License
109 stars 26 forks source link

[3] Expose media similarity in ListArticles #315

Closed MrOrz closed 10 months ago

MrOrz commented 10 months ago

During development, we found that actually it is possible for pure text to have score > 100 image.

In this PR, we expose MediaManager's similarity in the edge of ListArticles, so that clients like LINE bot don't need to rely on score to determine if there is a matching, similar image / video / etc file.

Refactors:

MrOrz commented 10 months ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

coveralls commented 10 months ago

Coverage Status

coverage: 88.376% (+0.03%) from 88.348% when pulling a8cca5a54fdde2d3d1a29edd89aed4911c733719 on media-similarity into 34ed2cd39f15b3606de95619f720400a15c754b1 on ai-transcript.