Our tool automatically generates job ads, like this one (click here to view the job ad). We use the pexels.com API to source background videos for these ads.
Important
We aim for the background videos to be as closely related as possible to the job description or job ad.
In order to generate the BG videos, we take job description as an input and generate script content for the specific job ad video using LLMs. The script content is then again used to to generate keyword queries that are used to generate background videos from pexels.com API. The videos are then cropped and merged to form the background video for that specific job ad.
flowchart TD
A[Job Description] -->|LLM| B(Video Script)
B --> C{"Generate BG Video Queries<br/>(for pexels.com)"}
C -->|"Query 1<br/> eg. 'career innovation'"| D[fa:fa-link Video URL 1]
C -->|"Query 2<br/> eg. 'UI engineering'"| E[fa:fa-link Video URL 2]
C -->|"Query 3<br/> eg. 'hybrid workplace'"| F[fa:fa-link Video URL 3]
C -->|Query N| G[fa:fa-link Video URL N]
You are given a CSV file with following columns:
job_link
: The job link for which we are generating the job ad video backgroundpexels_query
: The query that was used to fetch backgoround video from pexels.combg_video_url
: The response forpexels_query
from pexels.com that will be used as background video.is_related
: Empty column that needs to be filled by you.
Each row corresponds to a single video that was fetched from pexels.com.
Your task is to write an algorithm that provides binary "yes" / "no" value corresponding to each video URL that is being provided by pexels.com. This value must be filled in is_related
column.
The value must be "yes" if the video is related to job ad in some sense and it should be "no" otherwise. For example, query "engineering leadership" may result in this video which in context of software engineering job ad does NOT make any sense. In this case, you should output as "no".
Important
Your solution should be production ready & must work at scale.
You will be scored based on the following: (highest priority first)
- Your ability to understand the problem, how you solve the problem or why couldn't you solve the problem.
- Latency of your algorithm (lower the better).
- Accuracy of your algorithm to flag irrelevant videos.
- Research skills.
Send your submission as a compressed ZIP file to [email protected] and [email protected] (Please add both the emails).
The ZIP file must contain the following:
- Source code for the algorithm.
- CSV file with filled
is_relevant
column. - Detailed instructions on how to run the algorithm.
- Any additional files that you want to add.
If you have any questions, write to [email protected] and / or [email protected]