Questions tagged [bixbystudio]

189 questions
1
vote
2 answers

How can I detect the device target type in an action script?

I want my "GetContent" script to detect whether the device is "watch" and pass along an instruction to filter out candidate answers from a content.json file whose text field has a length greater than a certain number of characters. content.json…
Fred Zimmerman
  • 1,178
  • 3
  • 13
  • 29
1
vote
1 answer

How can Named Dispatch be tested without publishing to marketplace?

I am developing a capsule and want to test if it works as desired with Named Dispatch. However, I am unable to trigger the default action in Simulator or as a private capsule on my device. Instead of the default-action, another action (that does…
Tobias
  • 25
  • 3
1
vote
1 answer

is there any way to search for training metadata in Bixby Studio?

I can find all the places where the value string searchtheme occurs in my trainings by doing this: grep -ir "searchtheme" * t-1.training.bxb: utterance ("[g:GetContent] Show me more on the theme of (paintings)[v:SearchTheme].") t-4.training.bxb: …
Fred Zimmerman
  • 1,178
  • 3
  • 13
  • 29
1
vote
1 answer

Bixby: page might be empty warnings

I'm really stuck and don't know what to do. I've never worked in Bixby Studio and got that warning "page might be empty". I've seen two similar posts about this problem, but they didn't help me at all. item-selection-question { first…
lisov1y
  • 15
  • 4
1
vote
2 answers

How to access Bixby/Samsung profile information (first name/last name) in bixby capsule from `/code/program.js`

I am looking to greet a user with his first and last name with my capsule. I looked at this page, which would contain everything I need. I added the capsule-import / permission to do this. But I have not been able to access this user information…
1
vote
1 answer

What Version of Javascript Engine, Rhino, is used for Bixby's Servers?

I am writing a Javascript code for one of my Actions and It is complicated as it manipulates data structure of javascript object (written below) to search queries. How do I debug the code to make sure it works as intended. It consumes alot time for…
1
vote
0 answers

Microphone input error in Bixby Studio Simulator on a Mac

I am trying to use the microphone input on the Bixby Studio Simulator. When I press either the mic button or the space bar, the command windows shows 'Listening...' but after a second it stops and shows an error dialog. I've check the Audio section…
Alan
  • 667
  • 5
  • 15
1
vote
1 answer

Input-view with multiple columns

How would I create an input-view with a list that has two columns? I want something similar to what the date-picker looks like. My goal is to choose from 2 separate lists of values and join them together. For example if I had list a = ['a', 'b',…
Angel
  • 61
  • 2
1
vote
1 answer

Transient result in Bixby

I am trying to make a result transient in bixby. Specify a text reply like so: text (reply) { description (HomeAssistant conversation reply) features { transient } } However it seems as if the result is still cached, what am I missing…
Sam
  • 13
  • 2
1
vote
0 answers

Trying to enable microphone on Bixby Studio on a Mac

I'm using Bixby Studio on a Mac and can't get the mic working - I am running Mojave. I can type input in the simulator and it works great, but can't do any testing using voice input. I checked in the Security & Privacy settings to give access to the…
1
vote
1 answer

postUrl runs only once

I am calling postUrl in action-javascript that is referenced from Bixby sample on https://github.com/bixbydevelopers/capsule-samples-collection/tree/master/http-api-calls var http = require('http') var console = require('console') var config =…
will jahng
  • 13
  • 3
1
vote
1 answer

How to avoid caching of input in JavaScript function in bixby

JavaScript function inputs seem to be caching the arguments if the value is being used earlier. Example Use cases Find students in schools with a name or with their ages or both together. utterance 1 find students in the school with the name…
user3926701
  • 313
  • 1
  • 5
  • 18
1
vote
1 answer

How can I pass collected values to a replanned action?

When the user says "read john 3:100", I have a ReadBibleVerse action that matches book:john, chapter:3, verse:100. The endpoint will return a 404, since there is no verse 100. I want that action to capture the error and replan to a "read chapter"…
Timothy Aaron
  • 3,059
  • 19
  • 22
1
vote
1 answer

how can I dynamically pull version from git into capsule.bxb?

I don't want to rely on remembering to update the version number in capsule.bxb manually each time I update the app. In python, I normally do this: def get_latest_git_tag(path): repo = git.Repo(path) tags = sorted(repo.tags,…
Fred Zimmerman
  • 1,178
  • 3
  • 13
  • 29
1
vote
1 answer

How does fallback is handled in Bixby

After going through the documentation, I have found Error in actions where we can define errors, but what if the utterance is not specified in the training. How we will handle fallback?
1 2
3
12 13