Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Chris Shepherd
@thesheps
super confusing :*
I guess my question is are there any docs around webgl usage? The stack traces I'm getting are all obfuscatey because Unity is doing some sort of optimisations presumably
I'm thinking maybe there's an asset that's not being provided or something?
SynOfficial
@SynOfficial
@thesheps Please ensure the Package is imported from our official sources. You can find links to the latest version here
Chris Shepherd
@thesheps
Hey @SynOfficial - apologies, I didn't see your message here!! Just going to try that now, thanks! For reference I'm using Unity 2019.4.9f1
Chris Shepherd
@thesheps
oh man yeah that worked fine
hahaaa
I feel really stupid now. Thank you!!!
Taha hussain
@ellymay-121
hi i am using oscova in unity but template mode of entity extraction is not working and regex is also not working its urgent can you guys help?
SynOfficial
@SynOfficial
@ellymay-121 Oscova is battle-tested for more than half a decade. You would have to elaborate as to what you are attempting and what isn't working out for you specifically. This will enable us to help you better.
Taha hussain
@ellymay-121
hi I am having problem with custom entities and recognition please look
https://stackoverflow.com/questions/65159532/oscova-custom-entities-issue
SynOfficial
@SynOfficial
@ellymay-121 We believe your query has been answered already. If you own a licensed version you can directly get in touch with our support team.
Andrea Abissi
@Elvuis_gitlab
Hi! I'm interested on buy the Syn Bot Framework from the Unity Asset Store in order to use OSCOVA in my projects: which license does it include?
Dongggg
@triplevoxx_twitter
hi is anyone there?
SynOfficial
@SynOfficial
@Elvuis_gitlab For Unity 3D development the license is a pure Enterprise Edition as no limitations exists in the Unity version of the framework.
@triplevoxx_twitter Please go ahead. We are here to answer your queries.
Zombie Wolf
@prabbi:matrix.org
[m]

Hi,

[Expression("name")]
public void Name(Context context, Result result)
{
result.SendResponse("What is your name");

    }

}

How would I store the users name?

So in general, how would I store any responses ? :)
SynOfficial
@SynOfficial
@prabbi:matrix.org You can set that in User.Settings property on Result. More Information here
alextzanop
@alextzanop

Hello, there!
I'm using the Oryzer Studio to make a simple JSON file and then parse it in Unity using OSCOVA.
In the graph, I have a Response Node attached to an Intent and a Text Message Node attached to said Response Node, but
I can't figure out how to get the messages from the Text Message Node and output them in the console.

I'm trying to get the Response with 'evt.Response.Text' but the output is "Syn.Bot.Oscova.WorkspaceNodes.TextMessageNode"
How can I get the actual text from the Text Message Node?

Also, I'm trying to attach the Text Message Node to the Messages field in the Response Node and access it with 'event.Response.Messages', I can't seem to find a way to access a Message from the MessageCollection(for example, I would expect something like 'evt.Response.Messages[0]' or 'evt.Response.Messages.Get(0)' )

Thank you in advance!

SynOfficial
@SynOfficial
@alextzanop You can simply iterate through the messages and check if any of them if of TextMessage type. Example: foreach (var message in response.Messages) { if (message.Type == MessageTypes.Text) { if (message is TextMessage textMessage) { //Do Something here. } } }
tomtompotato
@tomtompotato
Hi there!
I have been using Oryzer Studio to create a knowledge base to be imported into a chatbot running through Unity. I've got everything to work as expected when I run it through the Unity editor, however when I export it to WebGL with the JSON file in my streaming assets folder, I can't figure out how to get the workspace to be imported to train the bot. From inspecting the page while it is running I can see that a web address is created for the JSON, but a / is put before the https meaning the path can't be found.
Is there anyway to get this so it can be readable, I'm looking to upload the game to itch.io
I'm using ImportWorkspace(System.IO.Path.Combine (Application.streamingAssetsPath, "knowledge.json")) right now as a means of calling the knowledge base,
Thank you for the help in advance!
IftikharAhmedMasih
@IftikharAhmedMasih
hello
any response
SynOfficial
@SynOfficial
@IftikharAhmedMasih We've updated the demo project in Unity Package for better WebGL deployment. Are you running on the latest version?
tomtompotato
@tomtompotato
@SynOfficial I've updated my demo version but I still can't access my Oryzer knowledge base when I build out in WebGL. It seems as though the ImportWorkspace function only wants to read from a local drive, any advice on how to get it to read from a URL?
SynOfficial
@SynOfficial

@tomtompotato We usually deal with technical or code related queries in our Forum. We've already updated the demo project and have commented the WebGL compatible project code within the base code.

However, you can create a folder named Resources under Assets/Resources and try loading it as a resource object.

https://docs.unity3d.com/ScriptReference/Resources.Load.html

var txtAsset = (TextAsset)Resources.Load("Some_Json_FileName_Without_Extension", typeof(TextAsset));
var tileFile = txtAsset.text;

var workspace = new WorkspaceGraph();
workspace.LoadFromString(tileFile);

MainBot.ImportWorkspace(workspace);

jzvikonyaukwa
@jzvikonyaukwa
how do l consume an API in my bot