Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Accessing the request #345

Open
dineshdisprz opened this issue Aug 23, 2022 · 0 comments
Open

Accessing the request #345

dineshdisprz opened this issue Aug 23, 2022 · 0 comments

Comments

@dineshdisprz
Copy link

Is there any way that I can access the request from the Dialogflow and format it inside the function in an inline editor?

Example of a request :
{
"responseId": "a29b914f-4fb2-4b00-aac7-ba9573bf84ca-5a74d3f9",
"queryResult": {
"queryText": "what is you name ?",
"action": "input.unknown",
"parameters": {},
"allRequiredParamsPresent": true,
"fulfillmentText": "Can you say that again?",
"fulfillmentMessages": [
{
"text": {
"text": [
"Can you say that again?"
]
}
}
],
"outputContexts": [
{
"name": "projects/datascience-306411/locations/global/agent/sessions/8f3ec141-d064-4ddf-6288-305418f2ecc3/contexts/system_counters",
"lifespanCount": 1,
"parameters": {
"no-input": 0,
"no-match": 1
}
}
],
"intent": {
"name": "projects/datascience-306411/locations/global/agent/intents/25cb0fd6-1633-4796-a471-345c455e5dbd",
"displayName": "Default Fallback Intent",
"isFallback": true
},
"intentDetectionConfidence": 1,
"diagnosticInfo": {
"webhook_latency_ms": 2509
},
"languageCode": "en",
"sentimentAnalysisResult": {
"queryTextSentiment": {}
}
},
"webhookStatus": {
"code": 14,
"message": "Webhook call failed. Error: UNAVAILABLE, State: URL_UNREACHABLE, Reason: UNREACHABLE_5xx, HTTP status code: 500."
},
"alternativeQueryResults": [
{
"queryText": "what is you name ?",
"languageCode": "en"
}
],
"agentId": "6220881b-0eb0-4a2e-a79e-86fa305085ee",
"agentSettings": {
"enableAgentWideKnowledgeConnector": true
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant