CV Extraction

In this example, we received a CV and want to extract certain fields from it. Since CVs always vary slightly in appearance and contents, this is a perfect use case for Waveline Extract since we don't rely on a given input structure.

First, let's construct a Shape that describes what we want to extract. Note that the description and isArray fields are optional.

[
  {
    "name": "personal_info",
    "type": "object",
    "elements": [
      { "name": "name", "type": "string" },
      { "name": "email", "type": "string" },
      { "name": "phone", "type": "string" },
      { "name": "address", "type": "string" },
      { "name": "linkedin", "type": "string" }
    ]
  },
  { "name": "professional_summary", "type": "string" },
  {
    "name": "education",
    "type": "object",
    "isArray": true,
    "elements": [
      { "name": "degree", "type": "string" },
      { "name": "university", "type": "string" },
      { "name": "major", "type": "string" },
      { "name": "start_date", "type": "string" },
      { "name": "end_date", "type": "string" }
    ]
  },
  {
    "name": "experience",
    "type": "object",
    "isArray": true,
    "elements": [
      { "name": "job_title", "type": "string" },
      { "name": "company", "type": "string" },
      { "name": "start_date", "type": "string" },
      { "name": "end_date", "type": "string" },
      { "name": "description", "type": "string" }
    ]
  },
  { "name": "skills", "type": "string", "isArray": true },
  { "name": "certifications", "type": "string", "isArray": true },
  { "name": "languages", "type": "string", "isArray": true },
  { "name": "projects", "type": "string", "isArray": true },
  { "name": "awards", "type": "string", "isArray": true },
  { "name": "volunteer_experience", "type": "string", "isArray": true },
  { "name": "additional_information", "type": "string" }
]

After creating the job with extract-endpoint and getting the result back with the job endpoint (see the other examples for a more detailed walkthrough of this process), we receive the following result:

{
    "personal_info": {
        "name": "Martin Marshmello",
        "email": "martin.marshmello@gmail.com",
        "phone": "079 942 11 73",
        "address": "Bahnhofstrasse 150, Wien, 8023, Austria",
        "linkedin": null
    },
    "professional_summary": "I'm a passionate artist turned software engineer. I teach computers to generate pixel by pixel. I love the 3D and 2D animation space and am fascinated by how AI can help to push the boundaries of what is possible. My goal is that everyone can create their own Movie by 2030.",
    "education": [
        {
            "degree": "Animation Artist Master",
            "university": "Harvard",
            "major": "Animation",
            "start_date": "Jan 2011",
            "end_date": "Dec 2014"
        },
        {
            "degree": "Bachelor Software Engineering",
            "university": "ETH Zurich",
            "major": "Software Engineering",
            "start_date": "Jan 2008",
            "end_date": "Dec 2010"
        }
    ],
    "experience": [
        {
            "job_title": "2d Animation Trainee",
            "company": "Pixar",
            "start_date": "Jan 2015",
            "end_date": "Jan 2017",
            "description": "Utilized motion graphics and animation to enhance the visual presentation of. Created custom animation components to improve user interaction with the app."
        },
        {
            "job_title": "3d Artist",
            "company": "Disney",
            "start_date": "Feb 2017",
            "end_date": "Mar 2019",
            "description": "Developed a XD environment with realistic lighting and effects that enhanced the game’s visual appeal. Developed a VR experience that allowed users to explore a virtual world in an immersive environment."
        }
    ],
    "skills": [
        "Ability to Multitask",
        "Computer Skills",
        "Ability to Work Under Pressure",
        "Adaptability"
    ],
    "certifications": [],
    "languages": [
        "German",
        "English",
        "French"
    ],
    "projects": [],
    "awards": [
        "Best Paper ICLR 2017 award for \"Attention is all you need\"",
        "Oscar for movie of the year called: \"Marshmello is an Artist\""
    ],
    "volunteer_experience": [],
    "additional_information": "Hobbies: Bouldering, Create Movies, Go to the cinema. References available upon request."
}

Last updated