AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Giphy slack commands8/1/2023 ![]() We now keep shuffle session state so the same GIF will not be returned within 10 shuffles. My blog post would not be complete without revealing all new features of the translate endpoint available to developers here in addition to the Slack-specific search score detailed above: Now, GIPHY’s search engine returns the top 50 GIFs for a search, then the translate endpoint orders them according to their Slack-specific send rate. We decided to build on top of the base logic of the previous version of the translate endpoint, but expanded the pool of GIFs from 25 to 50. Our next step was to update the translate endpoint to utilize the powerful send rate data we calculated for a given GIF/query pair. This large discrepancy affected hundreds of other popular queries like “mad,” “sweet,” and “thanks.” Clearly, Slack users have different content preferences than users of our other products, and we had a great case for creating Slack-specific search scores in the integration. Prior to my project, the Slack Integration would be five times more likely to return the angry doctor GIFthan the elevator GIF. The escalator GIF is sent 46% of the times it’s seen, while only 25% for angry doctor GIF. Their Slack send rates, however, vary greatly. The angry doctor GIF on the left is the highest-ranked GIF in our database for the query “monday” (according to multiple factors, including CTR) while the escalator GIF on the right is ranked 16th. ![]() What is the difference between these two GIFs? By calculating the send rate over several months, there’s enough example data (query/ GIF/ user action) to make an informed estimate of the send rate over an enormous number of searches. I wrote a Spark job to calculate the send rate of a GIF with its query over an arbitrary period of time. To do this, we utilized click-action data collected from our Slack integration to calculate the send rate of a GIF with a given query. The goal of contextually-aware search was to release a new version of the translate endpoint featuring Slack-specific search weights. This way, users received a variety of relevant GIFs, instead of the same one or two ad nauseum. The previous release of the translate endpoint selected a GIF from the top 25 search results for a query, with a larger probability of selecting a GIF with a higher ranking. GIPHY engineers previously implemented a creative solution around the constraints of the Slack integration called the translate endpoint. This poses a challenge because we have to inject a bit of randomness in the mix to make things novel and fun while keeping the results relevant. However, our Slack integration presents a unique search context since users are only presented with a single GIF at a time. On or the mobile app, users can scroll through pages of GIF search results to make a selection. Users enter the slack command and a GIF is immediately sent from a pool ofrelevant GIFs. My project revolved around calculating the send rates for specific GIFs using click-actions from shuffle mode more on that later). ![]() Sending the “/giphy query” command in shuffle mode starts a search session where users shuffle through a list of GIFs until they find the perfect one to send. The integration has two modes: shuffle and random. GIPHY’s Slack integration lets users send GIFs and stickers to coworkers using the translate endpoint in our API. This resulted in the significant reordering of many search results, and a large relative increase of 7.4% in the overall send rate of users in the Slack integration. To solve this problem, I introduced a contextually-aware search algorithm for our Slack integration. I found that users’ content preferences on Slack differ significantly than the preferences of mobile and website users, meaning that the best GIFs for Slack were not always in the top of search results. We are optimizing the search engine for these contexts. GIPHY’s search engine calculates CTR rates via and mobile apps. Users search our industry-leading database of GIFs and stickers to find the perfect one to send in all of these messaging platforms. We serve tens of billions of requests a month to all integrations via our API. GIPHY has popular integrations on many platforms like Facebook Messenger, Twitter, and Slack.
0 Comments
Read More
Leave a Reply. |