The integration of your chatbot into an HTML page using Google Dialogflow includes the following code snippet:
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1"></script>
<df-messenger
intent="WELCOME"
chat-title="FirstTest"
agent-id="xxxxxxxxxxx"
language-code="en"
></df-messenger>
Implementing AWS Kendra component into a TSX file is similar, shown below:
<Search
kendra={kendra}
s3={s3}
indexId={indexId}
facetConfiguration={facetConfiguration}
/>
While the implementation of the Kendra component works, there seems to be an issue with getting the Google Dialogflow snippet to work.