Concepts

Building Live AI Forms with WithLiveInputFrom

WithLiveInputFrom wires a GPALInput or GPALTextArea's TextChanged event (debounced) to automatically re-run the configured AI task and write the result to WithOutputTo, turning the button-driven pattern from Summarizing and Generating Text with GPAL.AI into a live, type-and-see tool with one extra call.

Choosing an AI Provider with AIProviderType

AIProviderType.XAI, OpenAI, and Anthropic are the three AI providers GPAL supports. Picking one does more than label the provider - it wires in the correct API base URL, endpoint, authentication header style, and a default model, all at once.

Classifying Text with GPAL.AI

GPAL.AI runs text through a large language model to classify it - sentiment, spam, intent, and a dozen other built-in categories, or a category you define yourself - using the same fluent settings-then-execute pattern as the rest of GPAL.

LLM-Ready Page Digests

GetLLMDigest and SaveLLMDigest turn the current page into cleaned markdown for LLM input. Cleanup rules - what counts as junk, where the main content lives, which post-conversion passes run - come from LLMDigestRules.yaml so they can be tuned per site without recompiling.

Searching the Web with GPAL.GoogleDorking

GPAL.GoogleDorking wraps the Google Custom Search API with the advanced search operators - site, filetype, exact phrase, date range - that make up a "Google dork", returning results into a grid for the rest of a workflow to use.

Summarizing and Generating Text with GPAL.AI

Beyond classification, GPAL.AI can summarize long text, generate new text from a prompt, or augment existing data - the same WithProvider/WithTask/WithInputFrom/WithOutputTo chain, just with a different AITask.

Tuning LLMDigestRules.yaml

LLMDigestRules.yaml controls what gets stripped, where the main content lives, and which cleanup steps run on the converted markdown - all editable without recompiling. Call DigestRulesConfig.Save() to generate a starter file, then add or adjust rule sets below the built-in ones.