
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
actions-on-google-dialogflow-session-entities-plugin
Advanced tools
This plugin makes it easier to use [Dialogflow Session Entities](https://cloud.google.com/dialogflow/docs/entities-session#creating_session_entities_with_fulfillment) in the [Actions on Google library](https://github.com/actions-on-google/actions-on-googl
This plugin makes it easier to use Dialogflow Session Entities in the Actions on Google library.
This plugin supports only Actions built with Dialogflow.
Install the plugin with npm install actions-on-google-dialogflow-session-entities-plugin
.
This plugin adds a new method to the conv
object to let you provide a single or set of entities
along with their synonyms.
You can use CRUD operations add
, get
, set
, and clear
to modify the array of session
entities you will be using. Call the send
method to add these session entities to the
conversation response.
Typescript developers can import the SessionEntity
interface for type-safety.
const { dialogflow } = require('actions-on-google')
const { sessionEntitiesHelper } = require('actions-on-google-dialogflow-session-entities-plugin')
const app = dialogflow()
.use(sessionEntitiesHelper())
app.intent('Default Welcome Intent', async (conv) => {
// Get session entities through some method
conv.ask('How can I help?')
const entities = await asyncDatabaseCall()
conv.sessionEntities.add(...entities)
conv.sessionEntities.send()
})
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
FAQs
This plugin makes it easier to use [Dialogflow Session Entities](https://cloud.google.com/dialogflow/docs/entities-session#creating_session_entities_with_fulfillment) in the [Actions on Google library](https://github.com/actions-on-google/actions-on-googl
The npm package actions-on-google-dialogflow-session-entities-plugin receives a total of 9 weekly downloads. As such, actions-on-google-dialogflow-session-entities-plugin popularity was classified as not popular.
We found that actions-on-google-dialogflow-session-entities-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.