Create Usage Instructions for the AI Assistant Plugins

Created on 27 November 2024, 25 days ago

Problem/Motivation

The action plugins like agents or RAG might have some best practices that they want to share to the system prompt of UIs like the Assistants API. We should allow for this to happen, currently they can just describe how to use them or some examples.

Proposed resolution

Add a method called listUsageInstructions on the action interface that gives back an array of instructions (can be empty).
Add an empty version in the base class, so we don't break old plugins.
Add it as a possibility to use in the pre_action_prompt as a token.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

AI Assistants API

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024