"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={overview:{objective:"Configure and manage artificial intelligence providers (OpenAI, Anthropic, Azure) and create reusable prompts to automate business tasks.",problem:"Companies use AI chaotically: API keys scattered, prompts unversioned, uncontrolled costs and variable response quality depending on users.",solution:"SmartStack centralizes AI provider management with encrypted keys, prompt versioning, reusable blocks, validation schemas and monitoring dashboard."},benefits:{automation:{title:"Massive Automation",description:"95% of repetitive tasks automated through AI prompts integrated in workflows"},quality:{title:"Consistent Quality",description:"85% improvement in response consistency through versioned and validated prompts"},roi:{title:"Quick ROI",description:"4x return on investment in 6 months through reduced processing time and improved quality"}},useCases:{uc001:"View AI dashboard",uc001Desc:"Visualize usage metrics: number of requests, tokens consumed, costs per provider",uc002:"View AI providers",uc002Desc:"List configured providers (OpenAI, Anthropic, Azure) with their available models",uc003:"Configure an AI provider",uc003Desc:"Add a provider instance with encrypted API key, default model and parameters",uc004:"View prompts",uc004Desc:"Visualize all created prompts with their version, status (active/inactive) and usage",uc005:"Create a prompt",uc005Desc:"Define a new prompt with name, description, prompt template and response schema",uc006:"Activate/Test a prompt",uc006Desc:"Toggle a prompt to active mode and test it with sample data before deployment",uc007:"Manage blocks",uc007Desc:"Create reusable prompt fragments (e.g., 'Business Context', 'Professional Tone')",uc008:"Manage JSON schemas",uc008Desc:"Define validation schemas for structured AI responses (e.g., data extraction)",uc009:"Reveal an API key",uc009Desc:"Temporarily display an encrypted API key for verification (action logged in audit logs)",uc010:"Execute a prompt",uc010Desc:"Launch an on-demand AI request with custom variables and see response in real-time"},features:{f001Title:"Agnostic multi-provider",f001Desc:"Native support for multiple AI providers with abstraction to easily switch providers",f001Example:"Switch from OpenAI GPT-4 to Anthropic Claude without changing workflow code",f002Title:"Versioned prompts",f002Desc:"Each prompt modification creates a new version with complete history and rollback capability",f002Example:"'Ticket Summary' prompt v1.0 → v1.1 (improvement) → rollback v1.0 if issue detected",f003Title:"Reusable blocks",f003Desc:"Create reusable prompt fragments to maintain consistency across different prompts",f003Example:"'ProfessionalTone' block: 'Respond courteously and concisely' used in 15 prompts",f004Title:"JSON validation schemas",f004Desc:"Define JSON Schema schemas to automatically validate structured AI responses",f004Example:"'TicketExtraction' schema: {title: string, priority: enum, category: string} with validation",f005Title:"Monitoring dashboard",f005Desc:"Track in real-time costs, tokens consumed, error rate and latency per provider",f005Example:"This month: 1.2M tokens (125€), 98.5% success rate, 1.2s average latency on GPT-4"},faq:{q1:"Which AI providers are supported?",a1:"SmartStack natively supports OpenAI (GPT-3.5, GPT-4, GPT-4o), Anthropic (Claude 3 family), and Azure OpenAI Service. Other providers can be added through extensions.",q2:"How are API keys secured?",a2:"API keys are encrypted with AES-256 before storage in database. They are never displayed in plain text (except 'Reveal key' action logged in audit logs). Only applications have access to decrypted keys.",q3:"Can you limit AI costs per tenant?",a3:"Yes, through quota configuration per tenant. You can define a monthly budget (tokens or euros) per tenant. Once quota is reached, AI requests are blocked until next month or manual upgrade.",q4:"How do versioned prompts work?",a4:"Each modification creates a new incremental version (v1.0, v1.1, v2.0). The active version is the one used in production. You can test a new version in parallel before activation and rollback instantly if issues occur."},businessRules:{br001:"Multi-provider support: OpenAI, Anthropic, Azure OpenAI with common abstraction",br002:"API keys are encrypted (AES-256) in database and never logged in plain text",br003:"Each prompt is versioned: modification = new version with complete history",br004:"Only one prompt can be active per name/context at a time",br005:"Blocks are reusable prompt fragments referenced by {{block_name}}",br006:"JSON Schemas (JSON Schema) automatically validate structured AI responses",br007:"Analytics dashboard aggregates metrics: tokens, costs, latency, errors per provider"}},t={docsAdministrationAi:e};exports.default=t;exports.docsAdministrationAi=e;
//# sourceMappingURL=docs-administration-ai-EVzVu3kS.cjs.map
