> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bing Copilot API：回答、来源与商品卡片

> 向 Microsoft Copilot 提问，获取回答、引用页面、商品卡片、地点、图片和搜索词。

`BING_COPILOT` 向 copilot.com 上的 Copilot 聊天提问，网页搜索始终开启，不涉及账户或登录。

| | |
| - | - |
| taskType | `BING_COPILOT` |
| 别名 | `COPILOT` |
| 读取 | `prompt`（回退到 `query`） |
| 积分 | 1 |
| 国家 | 可选，默认 `US`。 |

## 请求

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "BING_COPILOT", "payload": { "prompt": "best CRM for a small team", "country": "US" } }'
```

## 响应

| 字段 | 类型 | 说明 |
| - | - | - |
| `text` | string | 回答。 |
| `sources` | array | Copilot 引用的页面：`position`、`url`、`label`。 |
| `shoppingCards` | array | 商品卡片。始终存在，没有时为空。 |
| `map` | array | 地点：`position`、`name`、`placeId`、`location`、`layerLabel`。始终存在，没有时为空。 |
| `searchQueries` | string\[] | Copilot 执行的搜索。始终存在，没有时为空。 |
| `images` | array | 图片轮播：`title`、`url`、`image`、`thumbnail`、`medium`、`source`、`image_width`、`image_height`。 |
| `videos` | array | 视频轮播：`title`、`url`、`medium`、`thumbnail`、`source`、`duration`。 |
| `markdown` | string | Markdown 格式的回答。仅在设置 `include.markdown` 时返回。 |
| `rawResponse` | array | 流事件。仅在设置 `include.rawResponse` 时返回。 |

购物类问题常常不引用页面，而是返回商品卡片，因此 `sources: []` 也是正常回答。每个 `shoppingCards` 条目包含 `products`，商品位置在所有卡片中连续编号。商品保留 Copilot 的 `review`（买家评价摘要及其来源商店）、`prosAndCons` 和 `curationInfo`；Copilot 没有时各为 `null`。在 `images` 中，`url` 是图片所属页面，`image` 是图片文件；在 `videos` 中，`url` 是观看页面。

例如：

```json theme={"theme":"css-variables"}
{
  "text": "For a small team, HubSpot CRM and Pipedrive are easy to start with ...",
  "sources": [{ "position": 1, "url": "https://www.example.com/crm-guide", "label": "CRM guide for small teams" }],
  "shoppingCards": [],
  "map": [],
  "searchQueries": ["best CRM for small teams"]
}
```

设置 `include.markdown` 时，`markdown` 会在 Copilot 显示图片轮播的位置以 `![title](image)` 行放置图片，每个视频则以带链接的缩略图呈现。

## Include 标志

| 标志 | 效果 |
| - | - |
| `markdown` | 添加 `markdown`。 |
| `rawResponse` | 添加 `rawResponse`。 |
| `citationAnalysis` | 对回答运行[Citation Analysis](/zh/research/citation-analysis.md)。 |

`searchQueries`、`ads` 和 `shopping` 不起作用。`analysis` 会以 `422 VALIDATION_ERROR` 拒绝，`html` 以 `422 EVIDENCE_UNSUPPORTED` 拒绝。见 [Markdown 与原始响应](/zh/engines/response-options.md)。

## 相关内容

* [Bing Copilot 产品页](https://querying.ai/zh/engines/bing-copilot)
* [Bing 搜索](/zh/engines/bing-search.md)
* [引擎概览](/zh/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.