โ›“๏ธCondition

Intro

LLM have the ability to make decisions and take action if the "target value" matches certain criteria.

The rules can be determined by numbers, strings, or real-world characteristics.

How it work ?

LLM can understand not only text but also have the ability to comprehend common sense. This is because LLM are trained on HUGE datasets that include common sense knowledge.

word list => [Hello, Sandwich, Food, Bob]
if word list is type of food change into Food.
---------------------------------------------------
<Email> Hello Nathan, 
How about you guy ? 
Hope you get well soon.
Best 
Bob.
<Email>

Remove name in <Email> and replace with placeholder.

We can prompt an LLM to make decisions and take action by setting criteria for the decision and defining the next action when the criteria are met.

A software developer could consider this ability like if-else ability to other programing languages.

Prompt example

Last updated