Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Cote-Boucher committed Dec 12, 2019
1 parent f7dd8fa commit a342fd1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,23 @@ credentials:
rasa_addons.core.channels.rest.RestInput:
# POST {{rasa_url}}/webhooks/rest/
...
```

## rasa_addons.core.nlg.BotfrontTemplatedNaturalLanguageGenerator

Idential to Rasa's `TemplatedNaturalLanguageGenerator`, except in handles templates with a language key.

## rasa_addons.core.nlg.GraphQLNaturalLanguageGenerator

The new standard way to connect to the Botfront NLG endpoint. Note that support for the legacy REST endpoint is maintained for the moment. This feature is accessed by supplying a URL that doesn't contain the substring "graphql".

### Example usage

```
endpoints:
...
nlg:
url: 'http://localhost:3000/graphql'
type: 'rasa_addons.core.nlg.GraphQLNaturalLanguageGenerator'
...
```

0 comments on commit a342fd1

Please sign in to comment.