Skip to content

[OCL Mapper] Power User AI Assistant Drop-Down for Model & Prompt Template Selection #2383

@paynejd

Description

@paynejd

Summary

Add a configuration drop-down to the OCL Mapper AI Assistant, visible only to users with the core_user role, that allows selection of:

  1. AI Model - similar to current behavior, however the default selection may be different for each prompt
  2. Prompt Template - populated by calling the new AI Assistant /prompts/ endpoint with filter action_type=match_recommend; default value for this is where the prompt_key matches the action_type, so it's the same as the current default match_recommend

Default / Fallback Behavior

Users without the required role are unaffected. The AI Assistant continues to use prompt template key match_recommend with action type match_recommend as it does today. This is also the default selection for eligible users who haven't made a choice.

Notes

  • Prompt templates sharing the same action_type are expected to share the same input/output schema, so templates returned for match_recommend are schema-compatible and safe to swap in.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions