Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 5.25 KB

File metadata and controls

62 lines (51 loc) · 5.25 KB

GenXdev.AI.Queries

Overview

GenXdev.AI.Queries wraps LLM chat completion APIs for raw queries and structured outputs (boolean, list, transformation), powers AI-driven PowerShell command generation, and provides the image metadata pipeline — face detection, object recognition, scene classification, keyword generation, EXIF updates, and audio/video transcription via Whisper.

What It Offers

Command Aliases What it does
Invoke-LLMQuery llm, qllm Send queries to any configured LLM provider
Invoke-AIPowershellCommand hint Generate and execute PowerShell commands from natural language
Invoke-LLMBooleanEvaluation equalstrue Ask the AI: is this statement true or false?
Invoke-LLMStringListEvaluation getlist Extract a structured list of strings from text
Invoke-LLMTextTransformation spellcheck Rewrite, spellcheck, or transform text via AI
Add-EmoticonsToText emojify Add contextually appropriate emoticons to text
ConvertTo-CorporateSpeak corporatize Make blunt text polite and professional
ConvertFrom-CorporateSpeak uncorporatize Make corporate-speak direct and clear
Get-Fallacy dispicetext Identify logical fallacies in text
Find-Image li, findimages Search images by metadata, objects, faces, scenes
Start-AudioTranscription transcribe, transcribefile Transcribe audio/video to text via Whisper
Save-Transcriptions Generate subtitle files from audio/video
Invoke-ImageKeywordUpdate imagekeywordgeneration Generate AI descriptions and keywords for images
Invoke-ImageFacesUpdate imagepeopledetection Detect and register faces in images
Invoke-ImageObjectsUpdate imageobjectdetection Detect objects in images
Invoke-ImageScenesUpdate imagescenedetection Classify scenes in images
Update-AllImageMetaData updateallimages Batch-run all image metadata updates
Show-FoundImagesInBrowser showfoundimages Display image search results in a masonry gallery

How It All Comes Together

Invoke-LLMQuery (llm) sends prompts to the LLM provider configured via Set-AILLMSettings in GenXdev.AI. The other text cmdlets (spellcheck, emojify, corporatize, uncorporatize, dispicetext, equalstrue, getlist) are higher-level wrappers that call the LLM for specific use cases: transforming text, extracting lists, evaluating boolean statements, identifying fallacies, and adjusting tone.

Invoke-AIPowershellCommand (hint) generates PowerShell commands from natural-language descriptions using the LLM and can optionally execute them.

The image cmdlets (Invoke-ImageFacesUpdate, Invoke-ImageObjectsUpdate, Invoke-ImageScenesUpdate, Invoke-ImageKeywordUpdate) process image directories, generating metadata that Find-Image can later search with filters like -Objects "person, dog" or -SceneType "kitchen". Update-AllImageMetaData runs all four in sequence. Results can be displayed in a browser gallery via Show-FoundImagesInBrowser.

Start-AudioTranscription (transcribe) converts audio and video files to text using Whisper. Save-Transcriptions generates subtitle files from the output.

See Also