Unity & watson communication?

Hi i am new to watson and Unity3D conversation. The thing I want to do is one simple screen where you can talk to Chatbot. To do this, I got the Unity SDK watson talk in my project. and did what this page did . However, I cannot make the red dot green like this . I have barely experienced coding :( How can I get started? I want to make a simple scene that can talk to a chatbot.

+3


source to share


1 answer


You will need to create a workspace in the conversation service on Bluemix. Click Launch Tool

on the Manage page in the Conversation instance on Bluemix. This is where you can create a workspace. After you have created a workspace, on the Workspaces tab, you can click the three dots in the upper right corner of the workspace and View Details

. From there, you can copy Workspace ID

.

Go back to Unity in ConfigEditor in Watson menu, create variable named ConversationV1_ID

and paste here Workspace ID

.



In your calls to the chat service, you will need to add a reference to this workspace ID. You should be able to access the variable from the config file using

m_WorkspaceID = Config.Instance.GetVariableValue("ConversationV1_ID");

      

+3


source







All Articles