Skip to content

Commit

Permalink
One-click and readme updates
Browse files Browse the repository at this point in the history
Change-Id: Ic0986e1b3592b0f8e70e3fb5082dae542b8e20aa
  • Loading branch information
Sarah Dwyer committed Sep 27, 2018
1 parent 6cff37f commit 8ebda10
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,31 @@

Slot filling simplifies your agent by letting you obtain multiple, required parameters within a single intent. If any parameters are missing from a user utterance, your agent will automatically prompt users for the required parameters.

## Setup Instructions
1. Create an agent from our template, click [![AdLibs](https://storage.googleapis.com/dialogflow-oneclick/deploy.svg "AdLibs")](https://console.dialogflow.com/api-client/oneclick?templateUrl=https://storage.googleapis.com/dialogflow-oneclick/slot-filling.zip)
2. Write or say `hi` in the simulator.

## Related Samples
| Name | Language |
| ------------------------------------ |:---------------------------------|
| [Fulfillment & Actions on Google](https://github.com/dialogflow/fulfillment-actions-library-nodejs) | Node.js |
| [Fulfillment & Firestore](https://github.com/dialogflow/fulfillment-firestore-nodejs) | Node.js |
| [Bike Shop-Google Calendar API](https://github.com/dialogflow/fulfillment-bike-shop-nodejs)| Node.js|
| [Weather WWO API](https://github.com/dialogflow/fulfillment-weather-nodejs)| Node.js |
| [Multi-language/locale](https://github.com/dialogflow/fulfillment-multi-locale-nodejs) | Node.js |
| [Temperature Trivia](https://github.com/dialogflow/fulfillment-temperature-converter-nodejs) | Node.js |
## Setup
To create this agent from our template:

<a href="https://console.dialogflow.com/api-client/oneclick?templateUrl=https://oneclickgithub.appspot.com/dialogflow/fulfillment-slot-filling-nodejs" target="blank">
<img src="https://dialogflow.com/images/deploy.png">
</a>

### Option 2: Firebase CLI
1. Create a [Dialogflow Agent](https://console.dialogflow.com/).
2. `git clone https://github.com/dialogflow/fulfillment-slot-filling-nodejs.git`
3. Go to **Settings** ⚙ > **Export and Import** > **Restore from zip** using the `dialogflow-agent.zip` in this directory.
4. `cd` to the `functions` directory
5. Run `npm install`.
6. Install the Firebase CLI by running `npm install -g firebase-tools`
7. Login with your Google account, `firebase login`
8. Add your project to the sample with `firebase use <project ID>`
+ In Dialogflow console under **Settings** ⚙ > **General** tab > copy **Project ID**.
9. Run `firebase deploy --only functions:dialogflowFulfillment`
10. Back in Dialogflow Console > **Fulfullment** > **Enable** Webhook.
11. Paste the URL from the Firebase Console’s events column into the **URL** field > **Save**.

## Samples
For all [Dialogflow-Fulfillment](https://github.com/topics/dialogflow-fulfillment) samples on Github, available in Node.js and Python.

For Fulfillment Webhook [JSON requests & responses](https://github.com/dialogflow/fulfillment-webhook-json).

## References & Issues
+ Questions? Try [StackOverflow](https://stackoverflow.com/questions/tagged/dialogflow) or [Dialogflow Developer Community](https://plus.google.com/communities/103318168784860581977).
Expand All @@ -24,8 +36,7 @@ Slot filling simplifies your agent by letting you obtain multiple, required para
+ For more info on [Actions on Google NPM module](https://github.com/actions-on-google/actions-on-google-nodejs)
+ For more info on [Building Actions on Google with Dialogflow Agents Documentation](https://developers.google.com/actions/dialogflow/)


## How to Make Contributions
## Make Contributions
Please read and follow the steps in the CONTRIBUTING.md

## License
Expand Down

0 comments on commit 8ebda10

Please sign in to comment.