liveBook · Manning

Conversational ai

As explained in Authorization in Action

An AI system is software that applies artificial-intelligence capabilities to perform or assist with tasks such as interpreting information, generating content, analyzing artifacts, or making recommendations.

Conversational AI can summarize records, prepare responses, and search documents. When it handles sensitive data or actions, keep authorization separate: AI can interpret and assist, but should not decide access. section 17.0

Prompt-based access decisions can vary even when the request and context stay the same. Use a policy engine for enforcement so decisions remain consistent, reproducible, and tied to explicit rules. section 17.1

A support chatbot handling internal documents

Instead of asking the chatbot to infer whether a user may see a document, authorize the request first. Build the prompt with only the data and actions approved for that request. section 17.1

Figure 17.2 Authorized context for AI prompts. ACME performs authorization before prompt construction, producing an authorized context that defines which data and actions are permitted for the current request. The AI model may receive sensitive data, but only data approved by the authorization layer. The model does not query sensitive data directly or decide what it is allowed to access.

Shows authorization producing an approved context before prompt construction, with the model receiving permitted data rather than deciding what it may access. section 17.1

AI can still help outside the enforcement path: draft candidate policies, explain policy logic in plain language, and surface edge cases for human review. The policy engine remains authoritative. section 17.2

How Authorization in Action covers it

How deep it goes
Contrasts inconsistent prompt-based decisions with deterministic enforcement and shows authorization before prompt construction.
Examples
Uses a support chatbot prompted to decide access to internal documents and a flow that supplies authorized context.
What you can do after
Configure workflows to authorize data and actions before constructing prompts, while keeping the policy engine authoritative.
How it connects
Connects conversational AI with authorization, policy engines, policy authoring, and retrieval-augmented generation.

Also explained in

Compare how 20 books explain conversational ai →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.