Coder Social home page Coder Social logo

sar1hak / olivia Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3.1 MB

Olivia - Chatbot assistant to guide you through my portfolio.

Home Page: https://sarthakchauhan-portfolio.herokuapp.com/post/Olivia

License: GNU General Public License v3.0

Python 69.97% HTML 22.41% Dockerfile 6.31% Shell 1.32%
machine-learning python rasa-chatbot

olivia's People

Contributors

sar1hak avatar

Watchers

 avatar

olivia's Issues

AttributeError: 'NoneType' object has no attribute 'pop'

Unable to train Bot due to this:

Traceback (most recent call last):
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Sarthak\AppData\Local\Programs\Python\Python37\Scripts\rasa.exe_main
.py", line 7, in
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa_main
.py", line 116, in main
cmdline_arguments.func(cmdline_arguments)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\cli\train.py", line 90, in train
nlu_additional_arguments=extract_nlu_additional_arguments(args),
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\train.py", line 55, in train
loop,
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\utils\common.py", line 308, in run_in_loop
result = loop.run_until_complete(f)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 587, in run_until_complete
return future.result()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\train.py", line 95, in train_async
domain = await file_importer.get_domain()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\utils\common.py", line 117, in decorated
return await cache.cached_result()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\importer.py", line 441, in get_domain
self.importer.get_domain(), self._get_domain_with_e2e_actions()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\importer.py", line 447, in _get_domain_with_e2e_actions
stories = await self.get_stories()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\importer.py", line 473, in get_stories
template_variables, use_e2e, exclusion_percentage
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\importer.py", line 396, in get_stories
template_variables, use_e2e, exclusion_percentage
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\utils\common.py", line 117, in decorated
return await cache.cached_result()
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\importer.py", line 280, in get_stories
stories = await asyncio.gather(*stories)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\rasa.py", line 51, in get_stories
await self.get_domain(),
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\importers\rasa.py", line 67, in get_domain
domain = Domain.load(self._domain_path)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 122, in load
other = cls.from_path(path)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 132, in from_path
domain = cls.from_file(path)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 145, in from_file
return cls.from_yaml(rasa.shared.utils.io.read_file(path), path)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 160, in from_yaml
return cls.from_dict(data)
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 168, in from_dict
slots = cls.collect_slots(data.get(KEY_SLOTS, {}))
File "c:\users\sarthak\appdata\local\programs\python\python37\lib\site-packages\rasa\shared\core\domain.py", line 291, in collect_slots
slot_type = slot_dict[slot_name].pop("type", None)
AttributeError: 'NoneType' object has no attribute 'pop'

Form slots not set in Stories and Rules

Warning encountered:

Action 'health_form' set a slot type 'exercise' which it never set during the training. This can throw off the prediction. Make sure to include training examples in your stories for the different types of slots this action can return. Remember: you need to set the slots manually in the stories by adding '- slot{"exercise": Regularly}' after the action.

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.