Chatbot
Chatbot with Spring Boot, Spring cloud, , Micorservices, Dialogflow, Websockets and Apache kafka
Install / Use
/learn @devidascs/ChatbotREADME
Dialogflow API Spring chatbot
These project demonstrate the use of the Dialogflow API to create a chatbot.
Java Version
This sample requires you to have Java8.
Download Maven
To get started, download and install it.
Setup
-
Create a project with the Google Cloud Console, and enable the Dialogflow API.
-
Set up authentication. For example, from the Cloud Console, create a service account, download its json credentials file, then set the appropriate environment variable:
set GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json -
In our project the json are in src/main/resources
-
To run tests, set GOOGLE_CLOUD_PROJECT to your PROJECT_ID:
set GOOGLE_CLOUD_PROJECT=PROJECT_IDmvn clean verify -
Set PROJECT_ID in pom.xml to your Google Cloud Project Id.
-
Set SESSION_ID in pom.xml to a session name of your choice. (Defaults to SESSION_ID)
-
Set CONTEXT_ID in pom.xml to a context name of your choice. (Defaults to CONTEXT_ID)
Run the chatbot
To build the chatbot, we use Maven and run as normal spring boot applications. To access the UI then hit http://localhost:8080
Related Skills
openhue
339.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
339.5kElevenLabs text-to-speech with mac-style say UX.
weather
339.5kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
