- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
以下是我希望能够在 Bixby 中执行的步骤:1. 用户说出一句话。2. Capsule 然后进行 API 调用。3. 将API Call返回的数据存储到本地。4. 用户说出不同的话语。5. API 调用会将一段存储的数据发送到端点。
我希望能够存储数据,以便在未来的话语中重用它。我该怎么做?
只有通过连续调用函数,话语是连续的,我才能发现这是可能的,但是在我的用例中,它可能不是连续的,我希望能够在其他 Bixby session 中重新使用这些值作为好吧。
最佳答案
您需要通过外部 API 调用来存储此状态,因为在退出胶囊后或跨请求时不会维护状态。参见“Capsule and Context State”,但这里是相关信息......
Context between capsules is not stateful, meaning that if the user leaves the capsule for another capsule or if the user leaves Bixby altogether, then any context for the first capsule is not guaranteed to be remembered.
If your capsule does need to remember context between various states, you should use the content provider. You can store as much information on the content provider side as needed. You can always use remote endpoints and set up your service how you want.
关于bixby - 如何在 Bixby 中存储数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54626274/
在我的应用程序中,来自 Bixby 的所有话语都被重定向到一个调用 api 的操作。此 api 调用返回 Bixby 对用户话语的响应。最近我观察到,如果用户说以下内容:- 用户说:-将 xyz 添加
什么相当于 Bixby 胶囊中的 LaunchRequest 处理程序。对用户进行“欢迎”操作并匹配相应的 View 会很有帮助,该 View 可以提供欢迎消息以及一些初始的 conversation
我在开发胶囊时不小心创建了一个公开提交。 我在 Bixby IDE 的提交表单中没有看到删除或删除功能。 如何删除/删除它? 最佳答案 您不能删除公开提交(事实上,您也不能删除私有(private)提
问候。 我是这个论坛的新手,所以如果我犯了任何错误,请告诉我。 所以我今天来到这里是因为我无法理解 bixby 开发人员文档。我正在尝试构建一个胶囊,但每次我尝试了解某个主题的细节时,我要么会分心学习
我正在使用最新版本的 Bixby IDE(版本 6.2.0-rc.5484) 我已经从 git hub ( https://github.com/bixbydevelopers/space-resor
是否可以记录控制台输出并查看在输入断言时发生了什么?我看到了我的 capsule 所需的行为(显示了正确的提示),但是检查提示的断言失败了,我真的找不到任何方法来调试这些断言。 此外,我是 Stack
以下是我希望能够在 Bixby 中执行的步骤:1. 用户说出一句话。2. Capsule 然后进行 API 调用。3. 将API Call返回的数据存储到本地。4. 用户说出不同的话语。5. API
我花了很长时间查看文档,但无法在运行我的操作之前显示确认 View 。向胶囊添加确认 View 的步骤是什么? 我有一个名为 Evaluate 的操作和一个自动从用户配置文件中提取的地址输入。我想在运
我们有一个邮政编码“94582”,读作“九万四千五百八十二”。是否可以在 bixby 中将其发音为“九四五八二”? 最佳答案 作为对先前答案的更新:Bixby 现在支持 SSML https://bi
我正在研究一个接受地址和邮政编码的胶囊,并将估算属性(property)的值(value)。在结果 View 中,我想添加一个对话驱动程序以查看用户是否想要获得对另一个属性的估计。我想训练一个话语来启
如何在 bixby-studio 中隐藏 api key ? 我想使用 API 数据制作 bixby 胶囊。但我找不到如何隐藏 API key 这是 code/requestmovie.js 中的示例
我希望用我的胶囊向用户问候他的名字和姓氏。我看了this页面,其中包含我需要的一切。我添加了 capsule-import/permission 来执行此操作。但是我无法从 JavaScript 代码
我正在尝试访问当前日期并找到了日期API。似乎在文档的底部一直有一个method,可以像我想要的那样返回当前日期和时间,但是我认为有一个错字。我尝试猜测方法名称为“ datetime”,“ time”
我知道通常我们希望将交互完全保留在 Bixby 体验中,但是如果我想显示非常详细的非辅助样式信息,提供一个链接可能会更有利,该链接允许用户在给定的 URL 上查看更多内容。我在 Note9 上的 Bi
我希望我的胶囊中有登录系统,以便我可以根据用户的兴趣文件为他们提供更多推荐。到目前为止,我既找不到任何与登录设施相关的文档,也找不到任何示例。如果能得到任何文档或示例,我们将不胜感激。 最佳答案 Bi
胶囊开发人员是否可以通过使用与库胶囊中相同的匹配模式来覆盖库胶囊的NoResult对话框? 最佳答案 是。如果您的胶囊资源具有相同或更具体的匹配模式,则其优先级高于图书馆资源。 关于bixby - 我
用户:将我的位置设置为纽约 Bixby 将请求许可,然后要求存储位置,然后要求从 map 列表中进行选择。用户将单击一个,我将向用户发送消息,您的位置设置为美国纽约。一切都很好。但是当我点击 map
我有一个胶囊,我想在我的 Samsung S9+ 上进行测试,并启用了开发者选项,并创建了一个提交。 但是,当我尝试在手机上启动时,出现“哦,出现连接问题。稍后重试” 我怎样才能弄清楚发生了什么? 最
我正在研究 Bixby 集成,我正在浏览 Bixby 文档,我有一些关于 Bixby 提醒的营销信息,但我正在寻找如何以编程方式或通过 API 创建提醒,但我没有找到任何文档中的信息。 最佳答案 这是
我希望用户的当前位置和位置地址在布局中显示在单行上。 但我不知道如何获取位置、地址。请帮助我 最佳答案 我建议探索地理图书馆胶囊 ( viv.geo documentation ) viv.geo 库
我是一名优秀的程序员,十分优秀!