gpt4 book ai didi

firebase - Dialogflow 从 Firebase 实时数据库中检索数据

转载 作者:行者123 更新时间:2023-12-02 02:54:40 24 4
gpt4 key购买 nike

目前,我正在使用 Ionic 和 Angular2 以及来自 firebase 的实时数据库服务开发移动应用程序。我想使用 Dialogflow 创建一个聊天机器人来分析用户请求(即我需要轮椅),然后分析 firebase 数据库中存储的任何类似项目,如果存在,我需要显示项目名称和 uid 已将其添加到数据库中的用户。

看过一些关于使用 Cloud Firestore 的 Dialogflow 的教程,但我不确定这是否适用于实时数据库以及它如何工作。

提前致谢。 😊

最佳答案

为此,您需要使用 fulfillment webhookwill be sent the information关于用户所说的内容,是否进行数据库搜索,以及 sends the reply使用 Dialogflow 的响应 JSON 格式。

关于firebase - Dialogflow 从 Firebase 实时数据库中检索数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50146914/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com