rctatman / personal_website_bot Goto Github PK
View Code? Open in Web Editor NEWA simple bot to answer questions on my personal website. (In development)
License: Apache License 2.0
A simple bot to answer questions on my personal website. (In development)
License: Apache License 2.0
If the user types salx in places of sales -> I want to correct the spelling before it identifies the entities.
I tried to change the config.py file added a custom module and added a message.text = "something" but it's not changing
Do you have any idea ??
I am trying this in Jupyter notebook on GCP. In endpoints.yml , this is the action_endpoint I defined:
action_endpoint:
#url: http://app:5055/webhook
url: "http://0.0.0.0:5005"
I am getting below error,
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input -> i want to learn ml
What type of resouce do you want? Book, course or video?
Your input -> Book
2022-02-01 09:48:17 ERROR rasa.core.actions.action - Failed to run custom action 'query_resource'. Couldn't connect to the server at 'http://action_server:5055/webhook'. Is the server running? Error: Cannot connect to host action_server:5055 ssl:default [Name or service not known]
2022-02-01 09:48:17 ERROR rasa.core.processor - Encountered an exception while running action 'query_resource'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/aiohttp/connector.py", line 999, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
File "/opt/conda/lib/python3.7/site-packages/aiohttp/connector.py", line 865, in _resolve_host
addrs = await self._resolver.resolve(host, port, family=self._family)
File "/opt/conda/lib/python3.7/site-packages/aiohttp/resolver.py", line 36, in resolve
flags=socket.AI_ADDRCONFIG,
File "uvloop/loop.pyx", line 1469, in getaddrinfo
socket.gaierror: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/rasa/core/actions/action.py", line 723, in run
json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
File "/opt/conda/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 170, in request
**kwargs,
File "/opt/conda/lib/python3.7/site-packages/aiohttp/client.py", line 1117, in aenter
self._resp = await self._coro
File "/opt/conda/lib/python3.7/site-packages/aiohttp/client.py", line 521, in _request
req, traces=traces, timeout=real_timeout
File "/opt/conda/lib/python3.7/site-packages/aiohttp/connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "/opt/conda/lib/python3.7/site-packages/aiohttp/connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/opt/conda/lib/python3.7/site-packages/aiohttp/connector.py", line 1011, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host action_server:5055 ssl:default [Name or service not known]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/rasa/core/processor.py", line 869, in _run_action
output_channel, nlg, temporary_tracker, self.domain
File "/opt/conda/lib/python3.7/site-packages/rasa/core/actions/action.py", line 754, in run
raise RasaException("Failed to execute custom action.")
rasa.shared.exceptions.RasaException: Failed to execute custom action.
Your input -> /stop
I'm watching you on youtube in one window, and browsing this repo in another. I'd obviously like to meet this bot in a 3rd window... but there is no link in the README or top right of the GitHub page...
(I'm assuming it's up and running on your web site)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.