Skip to main content
Last updated: April 2026 — The Paradigm API evolves fast. Always check the latest API reference and prefer more recent cookbook entries when available.

Overview

The content generator module uses AI to generate attractive, professional job advertisements based on job specifications you provide. It takes basic job information and produces a complete, formatted job posting ready for publication.
This case is an example, feel free to replicate it for any type of content generation.
Use Case: Quickly create job postings for recruitment platforms, company career pages, or job boards.
Note The examples in this documentation use a local Flask web server. Be aware of this if you want to deploy to production. This example was created using an HTML frontend that sends the variables to the backend.

How It Works

  1. The user logs in to the front-end interface.
  2. The user provides the job information (title, department, experience, salary, etc.).
  3. The system uses a structured prompt with the job-post template + the variables provided by the user.
  4. The LLM generates a complete job posting.
  5. The formatted job post in the requested language is displayed on the front end.
Fonctionnement

API Endpoints Used

Note: This module uses Chat Completions (pure text generation) without documents.

Step-by-Step Implementation

Step 1: Initialize the Service

Step 2: Create the Generation Prompt

Step 3: Generate Job Advertisement

Step 4: Validate Input Data

Step 5: Fallback Generator

Complete Usage Example

Flask Route Integration

Input Parameters

Best Practices

  1. Provide detailed context in jobDescription for better results
  2. List specific benefits to make the ad more attractive
  3. Use appropriate language for your target audience
  4. Review generated content before publishing
  5. Customize the template for your company’s brand voice