Spaces:
Sleeping
Sleeping
File size: 1,159 Bytes
39ea97d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
from typing import List
from langchain_core.pydantic_v1 import BaseModel, Field
class Candidate(BaseModel):
name: str = Field(description="First name and last name of the candidate.")
email: str = Field(description="Email address of the candidate.")
phone: str = Field(description="Contact number with country code of the candidate.")
location: str = Field(description="City and state where the candidate resides.")
degree: List[str] = Field(description="List of the candidate's college degrees.")
college: List[str] = Field(description="List of all the colleges candidate went to")
skills: List[str] = Field(description="List of technical skills of the user.")
companies: List[str] = Field(
description="List only the name of the companies the user has worked at."
)
roles: List[str] = Field(
description="List all the job roles of the user at previous companies."
)
degree_year: int = Field(
description="The year in which candidate completed their degree."
)
experience: float = Field(
description="Number of years of professional experience of the candidate"
)
|