| ▲ | zkmon an hour ago | ||||||||||||||||
This is already solved by the traditional workflow systems. For example, if the request is received as a form submission, a form processor is invoked to categorize the request and route the request accordingly based on the identified category. Now, if the request is coming in as text or other media instead of a form input, then the workflow would call a relevant processor, to identify the category. Everything from that point runs same as before. The workflow itself doesn't change just because the input format has changed. | |||||||||||||||||
| ▲ | mewpmewp2 33 minutes ago | parent [-] | ||||||||||||||||
And what is this processor and how does it work? How does it determine next step from raw non structured content? Let's imagine for example that it's a message from a potential customer to a business. The processor must decide whether to e.g. give product recommendations, product advice, process returns, use specific tools to fetch more data (e.g. business policies, product manuals, etc), or current pricing, best products matching what the customer might want etc. If it's an AI agent it could be something like: 1. Customer sends message: "my product Y has X problem". (but the message could be anything from returns to figuring out most suitable product) 2. AI Agent uses "search_products" tool to find info about Y product in parallel with "send_response" to indicate what it's trying to do. 3. AI Agent uses "search_within_manual" tool to find if there are specific similar problems described. 4. AI Agent summarizes information found in manual, references the manual for download and shows snippet of content it based its answer on. AI Agent itself is given various functions it can call like 1. search_products 2. search_business_policies 3. search_within_documents 4. send_response 5. forward_to_human 6. end_action 7. ... possibly others. How would you do it in the traditional workflow engine sense? | |||||||||||||||||
| |||||||||||||||||