Table of Contents
Web Admin Overview
Raif includes a web admin interface for viewing all interactions with the LLM. Assuming you have the engine mounted at /raif
, you can access the admin interface at /raif/admin
.
The admin interface contains sections for:
Authorization
To control authorization for the admin interface, you can configure the authorize_admin_controller_action
option in your initializer:
Raif.configure do |config|
config.authorize_admin_controller_action = ->{ current_user&.admin? }
end
Screenshots
Model Completions
List of Raif::ModelCompletion
records:
Raif::ModelCompletion
record detail:
Tasks
List of Raif::Task
records:
Raif::Task
record detail:
Conversations
List of Raif::Conversation
records:
Raif::Conversation
record detail:
Agents
List of Raif::Agent
records:
Raif::Agent
record detail:
Model Tool Invocations
List of Raif::ModelToolInvocation
records:
Raif::ModelToolInvocation
record detail:
Stats
Stats & estimated cost tracking:
Aggregated task stats & estimated cost tracking:
Read next: Response Formats