ResumeParser / profile_extenders.py
LeoWalker's picture
increased max retires to handle mistral
89c233a
raw
history blame contribute delete
557 Bytes
from typing import List, Optional, Dict
from langchain_core.pydantic_v1 import BaseModel, Field
class BlogPost(BaseModel):
title: Optional[str] = None
url: Optional[str] = None
date: Optional[str] = None
summary: Optional[str] = None
class Hackathon(BaseModel):
name: Optional[str] = None
date: Optional[str] = None
description: Optional[str] = None
role: Optional[str] = None
achievements: Optional[List[str]] = None
class OtherInfo(BaseModel):
category: Optional[str] = None
description: Optional[str] = None