Create chatbotPage.page
Browse files- chatbotPage.page +9 -0
chatbotPage.page
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<apex:page controller="ChatbotController">
|
| 2 |
+
<h1>Ask the Chatbot</h1>
|
| 3 |
+
<form action="#" method="post">
|
| 4 |
+
<input type="text" name="query" placeholder="Ask about company policies" />
|
| 5 |
+
<input type="submit" value="Ask" />
|
| 6 |
+
</form>
|
| 7 |
+
|
| 8 |
+
<apex:outputText value="{!answer}" rendered="{!NOT(ISBLANK(answer))}" />
|
| 9 |
+
</apex:page>
|