MCPcopy Index your code

hub / github.com/Emmarex/dialogflow-fulfillment-python / functions

Functions40 in github.com/Emmarex/dialogflow-fulfillment-python

↓ 5 callersMethodadd
Add a response to a dialogflow response
pydialogflow_fulfillment/dialogflow_response.py:35
↓ 4 callersMethodget_final_response
(self)
pydialogflow_fulfillment/dialogflow_response.py:28
↓ 2 callersMethodget_intent_displayName
Get the display name of the current intent returns a str e.g 'Default Welcome Intent'
pydialogflow_fulfillment/dialogflow_request.py:52
Method__init__
(self, fulfillment_message="", webhook_source="webhook")
pydialogflow_fulfillment/dialogflow_response.py:9
Method__init__
webhook_request: str, bytes containing Json
pydialogflow_fulfillment/dialogflow_request.py:5
Method__init__
(self,display_text,text_to_speech)
pydialogflow_fulfillment/response.py:6
Method__init__
(self,suggestion_titles)
pydialogflow_fulfillment/response.py:17
Method__init__
(self,intent)
pydialogflow_fulfillment/response.py:26
Method__init__
(self,destination_name,destination_url)
pydialogflow_fulfillment/response.py:32
Method__init__
(self, optContext="")
pydialogflow_fulfillment/response.py:41
Method__init__
(self,permission_list,opt_context)
pydialogflow_fulfillment/response.py:50
Method__init__
(self,confirmation_text)
pydialogflow_fulfillment/response.py:61
Method__init__
(self,intent_name,arguments,update_frequency)
pydialogflow_fulfillment/response.py:73
Method__init__
(self,request_datetime_text,request_date_text,request_time_text)
pydialogflow_fulfillment/response.py:89
Method__init__
(self,address_prompt_reason)
pydialogflow_fulfillment/response.py:103
Method__init__
(self,project_id,session_id,context_name,context_life_span, context_parameters)
pydialogflow_fulfillment/response.py:114
Method__init__
(self, rows, columns, add_dividers=True)
pydialogflow_fulfillment/response.py:129
Method__init__
(self,cell_text =[], add_dividers=True)
pydialogflow_fulfillment/response.py:152
Method__init__
(self, user_data=dict())
pydialogflow_fulfillment/response.py:164
Method__init__
(self, message)
pydialogflow_fulfillment/default.py:5
Method__init__
(self, payload)
pydialogflow_fulfillment/default.py:16
Method__init__
(self, message)
pydialogflow_fulfillment/telegram_response.py:9
Method__init__
(self, message, parse_mode="", reply_message_id=None, disable_notification=False, disable_web_page_preview=Fal
pydialogflow_fulfillment/telegram_response.py:33
Method__init__
(self, message, inline_keyboard = [])
pydialogflow_fulfillment/telegram_response.py:66
Method__str__
(self)
pydialogflow_fulfillment/dialogflow_response.py:21
Methodget_action
(self)
pydialogflow_fulfillment/dialogflow_request.py:39
Methodget_chat_platform_payload
Get the data been sent from the chat platform returns a dict
pydialogflow_fulfillment/dialogflow_request.py:119
Methodget_chat_source
Get the platform from which the user is interacting from e.g google, telegram, facebook returns a string
pydialogflow_fulfillment/dialogflow_request.py:110
Methodget_intent_name
Get the name of the current intent returns a str e.g: 'projects/pyconafrica2019-axsuml/agent/intents/02001f63-cac8-418a-8ee
pydialogflow_fulfillment/dialogflow_request.py:42
Methodget_ouputcontext_list
Get list of output contexts returns a list of output contexts
pydialogflow_fulfillment/dialogflow_request.py:84
Methodget_parameter
Get a single parameter value sent from dialogflow param_key: str
pydialogflow_fulfillment/dialogflow_request.py:69
Methodget_parameters
Get all parameters sent from dialogflow returns a dict
pydialogflow_fulfillment/dialogflow_request.py:61
Methodget_project_id
Get the current project ID returns the project ID as a string
pydialogflow_fulfillment/dialogflow_request.py:76
Methodget_response_id
Get the current response ID returns str
pydialogflow_fulfillment/dialogflow_request.py:11
Methodget_session
Get the current session returns a str e.g 'projects/pyconafrica2019-axsuml/agent/environments/__aog-7/users/-/sessions/ABwp
pydialogflow_fulfillment/dialogflow_request.py:19
Methodget_session_id
Get the current session ID returns a str e.g 'ABwppHHEDZveVRxc8W_xk_TZdo4JT2onlvWKBehKW_PYDh2Eznhl7DsX8972SQJTBqKLgBCzyzq3d
pydialogflow_fulfillment/dialogflow_request.py:29
Methodget_single_ouputcontext
Get a single output context required: context_name: str returns a dict
pydialogflow_fulfillment/dialogflow_request.py:92
Methodget_user_token
(self)
pydialogflow_fulfillment/dialogflow_request.py:107
Functionindex_function
(request)
sample_code/django_sample/bot/views.py:8
Functionindex_page
()
sample_code/flask_sample/bot_app.py:7