Skip to content

Commit

Permalink
Add job application demo (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykeremy committed Jun 16, 2024
1 parent 536736a commit 161e25b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skyvern-frontend/src/routes/tasks/create/TaskTemplates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ const templateSamples: {
title: "bci_seguros",
description: "Generate an auto insurance quote",
},
job_application: {
title: "Job Application",
description: "Fill a job application form",
},
};

function TaskTemplates() {
Expand Down
16 changes: 16 additions & 0 deletions skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ export const finditparts = {
extractedInformationSchema: null,
};

export const job_application = {
url: "https://jobs.lever.co/leverdemo-8/45d39614-464a-4b62-a5cd-8683ce4fb80a/apply",
navigationGoal:
"Fill out the job application form and apply to the job. Fill out any public burden questions if they appear in the form. Your goal is complete when the page says you've successfully applied to the job. Terminate if you are unable to apply successfully.",
navigationPayload: {
name: "John Doe",
email: "john.doe@gmail.com",
phone: "123-456-7890",
resume_url: "https://www.msnlabs.com/img/resume-sample.pdf",
cover_letter: "Generate a compelling cover letter for me",
},
};

export const geico = {
url: "https://www.geico.com",
navigationGoal:
Expand Down Expand Up @@ -265,6 +278,9 @@ export function getSample(sample: SampleCase) {
case "bci_seguros": {
return bci_seguros;
}
case "job_application": {
return job_application;
}
case "blank": {
return blank;
}
Expand Down
1 change: 1 addition & 0 deletions skyvern-frontend/src/routes/tasks/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const sampleCases = [
"finditparts",
"california_edd",
"bci_seguros",
"job_application",
] as const;

export type SampleCase = (typeof sampleCases)[number];

0 comments on commit 161e25b

Please sign in to comment.