Predefined Prompt Suggestions
The AIPrompt enables you to provide sample prompt suggestions that can be submitted to the LLM with a single click. This can be achieved by creating a custom suggestionsList
and passing it to the promptSuggestions
prop of the AIPromptView
component.
Select one of the suggestions to see the generated response, if no suggestion is selected, the AIPrompt will display a The request cannot be processed at this time.
message.