Skip to content

Testinstanz für ein Chatbot-Projekt der HdM. Der Chatbot soll auf der HdM-Website implementiert werden.

Notifications You must be signed in to change notification settings

timobanaszak/hdm-chatbot-testinstanz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdm-chatbot-testinstanz

A quick and dirty react app to test training phrases and intents with Google Dialogflow.

This project was bootstrapped with Create React App.

Getting started

  1. Run yarn install
  2. Create the /src/config/config.json file
  3. Paste the following content into the config.json file
{
    "dfEditIntentURL": "",
    "dfTrainingURL": "",
    "dfWebdemoURL": "",
    "googleSheetURL": "" 
}
  1. dfEditIntentURL: Simply log into dialogflow and edit an existing intent. The URL will look something like the following: https://dialogflow.cloud.google.com/#/agent/{AGENTID}/editIntent/. Remove the id of the intent at the end of the URL
  2. dfTrainingURL: Simply log into dialogflow and open the training. Copy and paste the URL.
  3. dfWebdemoUrl: Open the dialogflow web demo (Login Dialogflow > Integrations > Webdemo), send a request and check for the URL in the Network Tab of your browser. Copy the URL and paste it in here. I guess this should be replaced with an actual cloud console url?
  4. Create a public URL for your Google Sheet, as described here: https://github.com/jsoma/tabletop#1-publishing-your-google-sheet
  5. Fill the corresponding information in config.json
  6. Run yarn start for development / testing
  7. Run yarn build and deploy :)

Development

yarn install

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

Testinstanz für ein Chatbot-Projekt der HdM. Der Chatbot soll auf der HdM-Website implementiert werden.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published