Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Sdk examples #832

Merged
merged 19 commits into from Aug 3, 2018
Merged

Sdk examples #832

merged 19 commits into from Aug 3, 2018

Conversation

akelad
Copy link
Contributor

@akelad akelad commented Aug 2, 2018

Proposed changes:

  • update examples and their docs to the SDK code
  • fixes #660

Status (please check what you already did):

  • made PR ready for code review
  • added some tests for the functionality
  • updated the documentation
  • updated the changelog

agent = Agent.load('models/dialogue')
agent.handle_channel(ConsoleInputChannel())
from rasa_core.run import start_server
start_server('models/dialogue')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not entirely sure this is going to work from the docs, but couldn't test it either

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amn41 do you know if we can start an http server here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes you can! check out step 5 in http://rasa.com/docs/nlu/quickstart/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice alright, then we'll keep it and try it out 🚀

@akelad akelad requested a review from tmbo August 2, 2018 13:09
@akelad akelad changed the title [WIP] Sdk examples Sdk examples Aug 2, 2018
agent = Agent.load('models/dialogue')
agent.handle_channel(ConsoleInputChannel())
from rasa_core.run import start_server
start_server('models/dialogue')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amn41 do you know if we can start an http server here?

@tmbo tmbo merged commit 3118b75 into dispatcher Aug 3, 2018
@tmbo tmbo deleted the sdk_examples branch August 3, 2018 07:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants