Skip to content

Instantly share code, notes, and snippets.

@PaulDuvall
Last active February 3, 2025 23:06
aws-case-study-prompt-4

Objective:

Generate a structured case study in multiple formats (HTML, PDF, and others) from a 30-minute recorded conversation using the latest version of Claude via Amazon Bedrock.

Requirements:

  1. Transcription: Convert recorded audio into text using Amazon Transcribe.
  2. Case Study Generation: Process the transcription through Claude (latest version) via Amazon Bedrock to generate a structured case study based on the predefined Case Study format.
  3. Output Formats: Export the case study in multiple formats, including HTML, PDF, and other relevant formats.
  4. Efficiency & Scalability: The solution must follow best practices in terms of performance, error handling, and scalability.

Deliverables:

Provide a fully functional Python script that integrates with Amazon Bedrock to:

  • Transcribe recorded conversations using Amazon Transcribe.
  • Format the transcription according to the predefined Case Study structure.
  • Generate a case study using Claude via Amazon Bedrock.
  • Export the case study in HTML, PDF, and other formats.

Code Expectations:

  • End-to-End Implementation: The script should be self-contained and include necessary dependencies, API calls, and execution instructions.
  • Modular & Efficient: Use a structured approach for efficiency, error handling, and scalability.
  • AWS Best Practices: Ensure compliance with AWS SDK (Boto3) best practices, including secure API usage and logging.
  • Minimal Dependencies: Use standard Python libraries and lightweight dependencies where possible.

Output Format:

Provide:

  • A complete Python script implementing all the above functionality.
  • A list of dependencies and installation instructions.
  • Clear execution steps for running the script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment