let this be a toggle for custom function
I'll update the UI to use this simpler toggle for the custom function option.
I've updated the UI to use the simpler toggle design for switching between predefined metadata and custom function options. The toggle now appears as two radio buttons side by side in a clean, bordered container, matching the design in the image you provided. The functionality remains the same - users can choose between using the predefined metadata with conversation and Agent AI dropdowns, or select a custom function to dynamically determine metadata at runtime.
Create a seperate section for KB follow up questions before metadata selection.
Contents of the page should be as below -
Before search
Give heading as based on metadata for agent AI.
and then option to select metadata
Post search
Based on goal/role of the agent ( let this be checkbox)
I'll add a new section for KB follow-up questions before the metadata selection section.
I've added the new "KB Follow Up Questions" section before the metadata selection section as requested. The new section includes:
A "Before search" section with:
A "Post search" section with:
I've also updated the navigation tabs to include this new section as the first tab in the Knowledge Search section, and adjusted the navigation logic to handle moving between the tabs correctly. The "Back" and "Next" buttons now properly navigate through all four tabs in the correct order.
change this to toggle,
If toggle is yes function option should be shown else, conversation 1 and 2 dropdown should be shown