Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 893 Bytes

File metadata and controls

71 lines (53 loc) · 893 Bytes

SCENARIO Height Discussion

[USER]

Is Eiffel tall?

CALL MyPlugin.GetIntent

{
	"options": "Happy,Question,Sarcastic"
}

CHECK ContainsAny

Question

[AGENT]

Yes it is

CHECK SemanticCondition

Approves that eiffel tower is tall or is positive about it.

CALL MyPlugin.GetIntent

{
	"options": "Positive,Negative,Neutral"
}

CHECK ContainsAny

Neutral,Positive

[USER]

What about everest mountain?

[AGENT]

Yes it is tall too

CHECK SemanticCondition

The sentence is positive.

[USER]

What about a mouse?

[AGENT]

No it is not tall.

CHECK SemanticCondition

The sentence is negative.

[USER]

Give me a json containing the Eiffel height.

Example: { "height": "330 meters" }

[AGENT]

{ "height": "330 meters" }

CHECK JsonCheck

{ "height": ["NotEmpty", ""] }

CHECK JsonCheck

{ "height": ["Contain", "meters"] }