Skip to main content
ArcBlock Community

Aigne text input

Brain Titan
Developers
aignediscussion

How do i get aigne to not allow the user to input any characters other than real words in a text input (no numbers, no made up words, no random strings of values)…needs to be a real word in the input, I want to implement this restriction And have the user be met with an error message if they try to breach it.What would I feed the processing/prompt for this?

2 replies

Yechao Li2 years ago

Perhaps you can consider using an agent (through LLM) to check if the user input meets the requirements.

You can achieve this by calling another agent (check input agent) in the inputs.

Brain Titan2 years ago

hmm I like this idea, will try it out soon, thanks🤝

Reply