Extraction Agent
ExtractionAgent
Bases: Agent
Agent for extracting structured resume data from unstructured text.
Uses OpenAI Agents framework with a Jinja2 template to guide the extraction process. The agent analyzes resume text and returns structured data matching the ExtractionAgentResponse schema.
Attributes:
| Name | Type | Description |
|---|---|---|
template |
Jinja2 template containing extraction instructions. |
|
session_id |
Unique session identifier for conversation tracking. |
Example
Initialize the extraction agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id
|
str
|
Unique identifier for this extraction session. |
required |