AI Cover Letter Generator Documentation

## AI Cover Letter Generator (WordPress Plugin)

### Created by ModelTheme

We are a team of passionate developers and designers dedicated to creating high-quality WordPress solutions. Our focus is on delivering user-friendly, feature-rich plugins that help businesses and individuals achieve their goals.

Visit Our Portfolio

## Overview

AI Cover Letter Generator is a WordPress plugin that creates personalized cover letters using OpenAI's API. It generates contextually relevant cover letters based on job details, uploaded resumes, and user preferences.

### Key Features

- Generate customized cover letters for any job position
- Upload and analyze PDF resumes
- Customize cover letter tone and style
- Adjust creativity level for content generation
- Multiple language support
- Easy integration via shortcodes
- Elementor widget support
- Responsive design

## Installation

1. Upload the plugin files to your WordPress site's plugins directory
2. Activate the plugin through the WordPress admin panel
3. Configure your OpenAI API key in the plugin settings
4. Add the shortcode to any page or post where you want to display the cover letter generator

## Shortcodes

The plugin provides a simple shortcode to display the cover letter generator form:

    [ai_cover_letter_generator]

## Settings

The plugin settings can be accessed from the WordPress admin panel under "ModelTheme AI Tools" > "AI Cover Letter Generator".

### Available Settings

- OpenAI API Key: Your OpenAI API key for authentication
- OpenAI Model: The AI model to use (default: gpt-3.5-turbo)

## API Integration

The plugin integrates with OpenAI's API to generate cover letters. The API call is made using the following parameters:

- Job Title
- Company Name
- Location
- Job Description
- Resume Content (from uploaded PDF)
- Creativity Level
- Tone
- Language

## Use Cases

### Job Seekers

Create professional cover letters tailored to specific job applications. Upload your resume for personalized content that highlights your relevant experience.

### Career Changers

Generate cover letters that effectively communicate your transferable skills and enthusiasm for your new career path.

### Recent Graduates

Create compelling cover letters that showcase your education and potential, even with limited work experience.

### HR Departments

Help candidates create better cover letters by providing them with an AI-powered tool that generates professional content.

### Career Coaches

Assist clients in creating effective cover letters by using AI to generate initial drafts that can be further customized.

### Recruitment Agencies

Provide value-added services to clients by offering AI-powered cover letter generation tools.

## Hooks & Filters

### Actions

- `aiclg_init`: Fires when the plugin is initialized
- `aiclg_activate`: Fires when the plugin is activated
- `aiclg_deactivate`: Fires when the plugin is deactivated

### Filters

- `aiclg_openai_prompt`: Modify the prompt sent to OpenAI
- `aiclg_cover_letter_response`: Modify the cover letter response before sending to frontend

## Troubleshooting

### Common Issues

- API Key Issues: Ensure your OpenAI API key is correctly configured in the settings
- PDF Upload Issues: Make sure your server supports PDF file uploads and has the necessary extensions (Imagick or pdftotext)
- Timeout Issues: For large requests, you might need to adjust the timeout settings

## Support

We're committed to providing excellent support for our products. You can reach us through the following channels:

### CodeCanyon Comments

For general questions and feedback, please use the comments section on our CodeCanyon item page.

### Support Tickets

For technical support and specific issues, please submit a ticket through our support system:

Submit Support Ticket

### Support Hours

Our support team is available Monday through Friday, 9:00 AM to 5:00 PM (GMT+2). We typically respond to all inquiries within 24-48 hours.