---
title: SendResponsesCallback
description: "定义了一个函数对象类型SendResponsesCallback，它具有四个参数，类型为InferRequestId，TensorMap， bool和std::string&。"
url: https://www.hiascend.com/document/detail/zh/mindie/latest/mindiellm/llmdev/mindie_llm0157.html
sourcePath: /source/zh/mindie/310/mindiellm/llmdev/mindie_llm0157.html
indexId: 7f6131ccf459cdf4e59664a8b25c7a701dc204c0c7eb93d71d6601fef3b6eddf58
---
# SendResponsesCallback

#### 函数功能

定义了一个函数对象类型SendResponsesCallback，它具有四个参数，类型为InferRequestId，TensorMap， bool和std::string&。


#### 函数格式

```
using SendResponsesCallback = std::function<void(InferRequestId, const TensorMap&, bool, const std::string&)>;
```
