- saludar
- utter_saludar
- solicitar_restaurante
- restaurante_form
- form{"name": "restaurante_form"}
- form{"name": null}
- utter_valores_slots
- gracias
- utter_denada
from typing import Dict, Text, Any, List, Union, Optional | |
from rasa_sdk import Tracker | |
from rasa_sdk.executor import CollectingDispatcher | |
from rasa_sdk.forms import FormAction | |
class RestaurantForm(FormAction): | |
def name(self) -> Text: | |
return "restaurante_form" |
language: es | |
pipeline: | |
- name: SpacyNLP | |
- name: SpacyTokenizer | |
- name: SpacyFeaturizer | |
- name: RegexFeaturizer | |
- name: DucklingHTTPExtractor | |
url: http://localhost:8000 | |
dimensions: |
entities: | |
- cocina | |
- asiento | |
- comentarios | |
- number # duckling | |
slots: | |
cocina: | |
type: unfeaturized | |
auto_fill: false |
action_endpoint: | |
url: http://localhost:5055/webhook |
from rasa_sdk import Action, Tracker | |
from rasa_sdk.forms import FormAction | |
from rasa_sdk.events import AllSlotsReset, Restarted | |
from rasa_sdk.executor import CollectingDispatcher | |
from typing import Any, Text, Dict, List, Union, Optional | |
import requests | |
class ActionBuscarPokemon(Action): |
intents: | |
- saludo | |
- buscar_pokemon | |
entities: | |
- nombre_pokemon | |
- numero_pokemon | |
slots: | |
nombre_pokemon: |