[GH-ISSUE #868] [FEAT]: Dynamic Prompt Input for Suggestions, options and more.. #516

Closed
opened 2026-02-22 18:19:54 -05:00 by yindo · 0 comments
Owner

Originally created by @sherifButt on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/868

What would you like to see?

😀 Open for suggestions on the feature's design, in terms of modularity, ease of scalability to expand on various input methods

Feature Suggestion: Dynamic Input Methods for Enhanced User Interaction

A dynamic input method feature, aimed at significantly improving user experience by enabling intuitive, immediate, and context-sensitive interactions. This feature leverages a JSON meta object embedded within the GPT response to instruct the front-end on rendering various input interfaces, such as options, suggestions, or sliders, instead of the traditional text input.

Key Components:

  1. Meta Object: A structured JSON defining input types (options, range sliders, etc.) and data necessary for their rendering.
  2. Input Handler Module: A flexible component that reads the meta object and dynamically switches the user input method accordingly.
  3. Modularity and Scalability: Design the system with a library of standalone input method components and a schema for the meta object that supports future expansion.

Example JSON Meta Object:

{
"meta": {
"options": ["option1", "option2"],
// "suggestions": ["suggestion1", "suggestion2"],
"range": {
"min": 1,
"max": 10,
"step": 1
}
},
"settings": {
"type": "range",
"placeholder": "Select a value between 1 and 10"
}
}

Benefits:

  • Enhances user engagement by offering a more interactive and guided conversation experience.
  • Reduces reliance on text input, making interactions quicker and more intuitive.

Implementation Approach:

  • Start with a prototype focusing on a core set of input methods. options list.
  • Provide clear documentation for extending the feature with new input methods.

Before:
anythingllm_ui_01

After:
anythingllm_ui_02

Originally created by @sherifButt on GitHub (Mar 6, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/868 ### What would you like to see? 😀 _Open for suggestions on the feature's design, in terms of modularity, ease of scalability to expand on various input methods_ ## Feature Suggestion: Dynamic Input Methods for Enhanced User Interaction A dynamic input method feature, aimed at significantly improving user experience by enabling intuitive, immediate, and context-sensitive interactions. This feature leverages a JSON `meta` object embedded within the GPT response to instruct the front-end on rendering various input interfaces, such as options, suggestions, or sliders, instead of the traditional text input. **Key Components:** 1. **Meta Object**: A structured JSON defining input types (options, range sliders, etc.) and data necessary for their rendering. 2. **Input Handler Module**: A flexible component that reads the meta object and dynamically switches the user input method accordingly. 3. **Modularity and Scalability**: Design the system with a library of standalone input method components and a schema for the meta object that supports future expansion. **Example JSON Meta Object:** { "meta": { "options": ["option1", "option2"], // "suggestions": ["suggestion1", "suggestion2"], "range": { "min": 1, "max": 10, "step": 1 } }, "settings": { "type": "range", "placeholder": "Select a value between 1 and 10" } } **Benefits:** - Enhances user engagement by offering a more interactive and guided conversation experience. - Reduces reliance on text input, making interactions quicker and more intuitive. **Implementation Approach:** - Start with a prototype focusing on a core set of input methods. `options list`. - Provide clear documentation for extending the feature with new input methods. Before: ![anythingllm_ui_01](https://github.com/Mintplex-Labs/anything-llm/assets/90522472/3c63a8fc-ebf0-4c6e-9675-f02d5404b927) After: ![anythingllm_ui_02](https://github.com/Mintplex-Labs/anything-llm/assets/90522472/f1d35924-4364-4b78-827a-34bde0a05ea6)
yindo added the enhancementfeature request labels 2026-02-22 18:19:54 -05:00
yindo closed this issue 2026-02-22 18:19:54 -05:00
yindo changed title from [FEAT]: Dynamic Prompt Input for Suggestions, options and more.. to [GH-ISSUE #868] [FEAT]: Dynamic Prompt Input for Suggestions, options and more.. 2026-06-05 14:35:43 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#516