gpt4 book ai didi

postman - 如何过滤 C3.ai COVID-19 数据湖治疗 Assets 中的开发人员

转载 作者:行者123 更新时间:2023-12-04 15:31:30 24 4
gpt4 key购买 nike

我正在试用 COVID-19 Data Lake与 postman 。我正在运行 POST https://api.c3.ai/covid/api/1/therapeuticasset/fetch 以获得特定组织生产的疫苗。但看起来开发人员可以包括多个组织,所以我不能只过滤像 "developer == 'Vanderbilt'" 这样的名称。

我还尝试了 “'Vanderbilt' in developer”。我如何找到涉及特定大学的所有疗法?

最佳答案

类似于 rsyoung 所说的 - 您可以使用 intersects() 表达式引擎函数来过滤多个组织。

Check if first argument (object or arry) is present within remaining arguments.
Example: intersects(arryField, ['a','b','c']):

因此在您的情况下,您可以使用如下过滤器:

intersects(developer, ['Vanderbilt', 'OrganizationX', 'OrganizationY'])

并且结果应该包括满足该条件的所有 TherapeuticAssets。

关于postman - 如何过滤 C3.ai COVID-19 数据湖治疗 Assets 中的开发人员,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61179819/

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