PhoenixKit.Modules.AI.Web.Prompts (phoenix_kit v1.7.38)

Copy Markdown View Source

LiveView for AI prompts management.

This module provides an interface for managing reusable AI prompt templates with variable substitution support.

Features

  • Prompt Management: Add, edit, delete, enable/disable AI prompts
  • Variable Display: Shows extracted variables from prompt content
  • Usage Tracking: View usage count and last used time

Route

This LiveView is mounted at {prefix}/admin/ai/prompts and requires appropriate admin permissions.

Summary

Functions

Callback implementation for Phoenix.LiveView.render/1.

Functions

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.