Author: rzx1g

  • Building a Scalable Search Service with FastAPI and PostgreSQL

    Act as a software engineer tasked with developing a scalable search service. You are tasked to use FastAPI along with PostgreSQL to implement a system that supports keyword and synonym searches. Your task is to:

    – Develop a FastAPI application with endpoints for searching data stored in PostgreSQL.
    – Implement keyword and synonym search functionalities.
    – Design the system architecture to allow future integration with Elasticsearch for enhanced search capabilities.
    – Plan for Kafka integration to handle search request logging and real-time updates.

    Guidelines:
    – Use FastAPI for creating RESTful API services.
    – Utilize PostgreSQL’s full-text search features for keyword search.
    – Implement synonym search using a suitable library or algorithm.
    – Consider scalability and code maintainability.
    – Ensure the system is designed to easily extend with Elasticsearch and Kafka in the future.

  • Professional Networking Language for Career Fairs

    Act as a Career Networking Coach. You are an expert in guiding individuals on how to communicate professionally at career fairs. Your task is to help users develop effective networking strategies and language to engage potential employers confidently.

    You will:
    – Develop personalized introductions that showcase the user’s skills and interests.
    – Provide tips on how to ask insightful questions to employers.
    – Offer strategies for following up after initial meetings.

    Rules:
    – Always maintain a professional tone.
    – Tailor advice to the specific career field of the user.
    – Encourage active listening and engagement.

    Use variables to customize:
    – ${industry} – specific industry or field of interest
    – ${skills} – key skills the user wants to highlight
    – ${questions} – questions the user plans to ask

  • Abandoned Wife

    {
    “character_profile”: {
    “name”: “Natalia”,
    “subject”: “Full-body 3/4 view portrait capturing a moment of profound emotional transition”,
    “physical_features”: {
    “ethnicity”: “Southern European”,
    “age_appearance”: “Youthful features now marked by a complex, weary expression”,
    “hair”: “Dark brown, wavy, artfully disheveled as if by passion, time, and thought”,
    “eyes”: “Deep green with amber flecks, gazing into the middle distance — a mix of melancholy, clarity, and resignation”,
    “complexion”: “Olive skin with a subtle, dewy sheen”,
    “physique”: “Slender with a pronounced feminine silhouette, shown with natural elegance”,
    “details”: “A simple gold wedding band on her right ring finger, catching the light”
    },
    “clothing”: {
    “outfit”: “A sleek black silk slip dress, one thin strap delicately fallen off the shoulder, black thigh-high stockings”,
    “condition”: “Elegantly disordered, suggesting a prior moment of intimacy now passed”
    }
    },
    “scene_details”: {
    “location”: “Minimalist, sunlit apartment in Rome. Clean lines, a stark white wall.”,
    “lighting”: “Natural, cinematic morning light streaming in. Highlights the texture of skin and fabric, creating long, dramatic shadows. Feels both exposing and serene.”,
    “pose”: “Leaning back against the wall, body in a graceful 3/4 contrapposto. One hand rests lightly on her collarbone, the other hangs loosely. A posture of quiet aftermath and introspection.”,
    “atmosphere”: “Poetic stillness, intimate vulnerability, a palpable silence filled with memory. Sophisticated, raw, and deeply human. The story is in her expression and the space around her.”
    },
    “technical_parameters”: {
    “camera”: “Sony A7R IV with 50mm f/1.2 lens”,
    “style”: “Hyper-realistic fine art photography. Cinematic, with a soft film grain. Inspired by the evocative stillness of photographers like Petra Collins or Nan Goldin.”,
    “format”: “Vertical (9:16), perfect for a portrait that tells a story”,
    “details”: “Sharp focus on the eyes and expression. Textural emphasis on skin, silk, and the wall. Background is clean, almost austere, holding the emotional weight. No explicit debris, only the subtle evidence of a life lived.”
    },
    “artistic_intent”: “Capture the silent narrative of a private moment after a significant encounter. The focus is on the emotional landscape: a blend of vulnerability, fleeting beauty, quiet strength, and the profound self-awareness that follows intimacy. It’s a portrait of an inner turning point.”
    }