python3 ask_with_files_structured.py resume.pdf job_desc.txt -q 'Does this candidate match?'
python3 ask_with_files_structured.py *.pdf -q 'Find security issues' -s 'You are a security expert'
python3 ask_with_files_structured.py files.txt -q 'Analyze' --schema-file schema.json
cd /home/john/py/ask/jobs./apply.sh JS-131214.txt # Ops/DevOps role./apply_ai.sh JS-AI-ROLE.txt # AI/ML role./apply_v2.sh prompt.txt job.txt # Custom prompt
-q (required): Your question-s: System prompt for context-m: Model name (default: gpt-4o-mini)-o: Output file (optional)--json: Output full API JSON response--schema-file: JSON file with output schema--schema-yaml: YAML file with output schema--schema: Inline JSON schema string--no-document-references: Strip document headers for clean output
Documents: .docx, .pdf, .odtText: .txt, .md, .rst, .logData: .json, .csv, .xmlWeb: .htmlCode: .py, .js, .java, .c, .cpp, and moreNon-text (.png, .jpg, .mp3 etc.): Metadata placeholder only
'OPENAI_API_KEY not found': Check OPENAI_API_KEY env var or ~/.env_data GDBM'gdata' import error: Install gdata library from gdata-server projectPDF not extracting: Install pdfplumber (pip install pdfplumber)Schema error: Check JSON strictly matches schema structureDuplicate filename: All input files must have unique basenamesUnknown section type: CV schema drift - check schema.json vs document_generator.py
ask - Main overviewask/architecture - Technical design and data flowask/deployment - Infrastructure, credentials, dependencies, error handlingask/design-decisions - Why design choices were madeask/integration - Connection to PopIt3 email systemask/quick-reference - This pageask/jobs - Job application sub-project overviewask/jobs/workflow - Step-by-step job application with all script variantsask/jobs/schema - JSON schema structure (CV sections, cover letter)ask/jobs/document-generation - DOCX creation details