Code Monkey home page Code Monkey logo

personal_website_bot's Issues

can we change the spelling

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 ??

Error while trying to query - using GCP platform

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

please make link from github to the web site

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.