itp-xstory / uniflow Goto Github PK
View Code? Open in Web Editor NEWFull Docs -->
Home Page: https://itp-xstory.github.io/uniFlow/
License: MIT License
Full Docs -->
Home Page: https://itp-xstory.github.io/uniFlow/
License: MIT License
Hey, Thanks for such a detailed DiaglogFlowV2 pipeline. Earlier I was using V1 and it involved a very simple authentication process. But with V2 the authentication has become crazy difficult. Moreover, the Access Token generated gets expired in one hour. I tried searching for this but didn't find a solution. I can see people have solved it here, but I am not sure how to integrate same here.
Please Help!
Please fix the Doc's link.
the new one should be the following.
https://itp-xstory.github.io/uniFlow/
Does this work with iOS/Android mobile - i notice that the credentials has to be set in environment path
Hello,
The error comes after the step 5 of the tutorial uniFlow: Dialogflow V2 Unity Plugin Prototype : https://itp-xstory.github.io/uniFlow/#step5
I changed the post request routine as following : PostRequest("https://dialogflow.googleapis.com/v2/projects/my_project_name/agent/sessions/34563:detectIntent", my_token_from_previous_steps)); and also in the bottom as described in the video. But, when running the example in unity i get the following 03 outputs :
################################################
{
"queryInput": {
"audioConfig": {
"audioEncoding": 0,
"sampleRateHertz": 0,
"languageCode": "",
"phraseHints": []
}
},
"inputAudio": ""
}
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:38)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
NewScript:Start() (at Assets/NewScript.cs:18)
################################################
400
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
HTTP/1.1 400 Bad Request
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:52)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
The mentionned lines from the NewScript.cs script are :
18 : calling the PostRequest(
38 : Debug.Log(jsonRequestBody);
51 : Debug.Log(postRequest.responseCode);
52 : Debug.Log(postRequest.error);
I'm using unity 2019.3.7f1 in Windows10-x64, and i followed the tutorial step by step, could you help please ?
Thank you,
Hi Alice and your teammates! Thank you for sharing such lucid tutorial videos. I'm a designer and I'm doing a project related to audio interaction based on Unity. I have followed your steps, but a problem showed up when I was adding the "NewScript" to the camera, which is an AR camera based on Vuforia. An error "400 Bad Request" was requested in the console. I have checked some answers on StackFlow, but most of those solutions look like javascript rather than CSharp. I wonder if you have ever met the same problem and probably you may share your solutions.
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.