更新对话服务工作空间而不更改工作空间ID [英] Update conversation service workspace without changing workspace ID
问题描述
是否可以在不更改工作区ID的情况下更新我的对话工作区?我需要不时刷新我的舞台和产品工作区.我使用导入"选项,但这会创建一个具有不同工作空间ID的新工作空间.这意味着我还需要去更新我的应用程序中的内容.我知道我可以将其作为外部环境变量使用.但理想情况下,我也想避免这种情况.我只想要一种更新"现有工作空间而不更改其ID的方法.
Is there a way to update my conversation workspace without changing the workspace ID? I need to refresh my stage and prod workspaces every now and then. I use the Import option, but that creates a new workspace with a different workspace ID. This means I need to go and update the same in my app as well. I know I can potentially have it as an external environment variable. But ideally, I would want to avoid that as well. I just want a way to "update" an existing workspace without changing its ID.
推荐答案
检查新的Workspace API功能.它将允许您以编程方式更新工作区,而无需导入.
Check the new Workspace API functionality. It will allow you to update a workspace programmatically without having to import.
我建议先测试一下它的工作原理,然后再尝试使用它.
I would recommend to test to see how it works before attempting to use it.
这篇关于更新对话服务工作空间而不更改工作空间ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!