panac / audiobooks Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Doc: https://developers.google.com/assistant/conversational/storage-user
I noticed that the user storage has a very limited size.
According to my observation if the storage size exceeds the limit, the new data state is not persisted and the previous data state is kept.
Now : after some optimisation : like string size reduction
I remarks that the user data storage is wiped after each end of session. It's not kept.
User data storage :
> {
> p_i: 0,
> player: {
> 'du_contrat_social_rousseau.json': { t: 36, i: 0, d: 1632475912941 }
> },
> p_t: 36,
> bearerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwic3ViIjoxLCJpYXQiOjE2Mz
I0NzM1MTcsImV4cCI6MTYzMjQ3MzU3N30.AtJ09OuT3IDOTsgT2RqLgnv1hKSwK4j4RRZOgxuoJXo',
> p_n: 'du_contrat_social_rousseau.json'
> }
User data storage provided to the next session :
> {
> bearerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwic3ViIjoxLCJpYXQiOjE2Mz
I0NzM1MTcsImV4cCI6MTYzMjQ3MzU3N30.AtJ09OuT3IDOTsgT2RqLgnv1hKSwK4j4RRZOgxuoJXo'
> }
When I pause the player : the request to the webhook didn't occurs.
'une erreur s'est produite'
from log google :
https://console.cloud.google.com/logs/query;timeRange=PT1H;cursorTimestamp=2021-09-24T09:16:33.022777Z?project=valentin-4&query=%20&authuser=1
There is a critical error :
{
"insertId": "1de94lkgdd83pwf",
"jsonPayload": {
"status": {
"message": "Did not find any handling for intent event 'actions.intent.MEDIA_STATUS_PAUSED' on scene 'select_pub_after_selection'",
"code": 13
},
"timestamp": "2021-09-24T09:16:33.022777Z",
"endConversation": {}
},
"resource": {
"type": "assistant_action",
"labels": {
"action_id": "55bcdc71-5e53-4366-b84b-b9f6ec67fed5/40",
"project_id": "valentin-4",
"version_id": ""
}
},
"timestamp": "2021-09-24T09:16:33.022777Z",
"severity": "CRITICAL",
"labels": {
"channel": "preview"
},
"logName": "projects/valentin-4/logs/actions.googleapis.com%2Factions",
"trace": "projects/valentin-4/traces/ABwppHFZN2XYLbv45eWhBcMIuM6cjCmZrUrHfV8RcNZN_lNagCMonQaqJeNr8Nec2e8VPcm3OfC20w",
"receiveTimestamp": "2021-09-24T09:16:33.047169149Z"
}
however :
the player scene is launched because the media-player start the audiobook..
but the scene is stall to select_pub_after_selection
the workaround is to force the next scene to the code
conv.scene.next.name = "player";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.