首页 > 解决方案 > 如何交换拥抱脸 API 的请求正文

问题描述

我是 python 的初学者,所以我想知道如何使用交换 huggingface API 的请求。python中的请求正文。

{
    "appPackageName": "",
    "messengerPackageName": "",
    "query": {
        "sender": "John Smith",
        "message": "This is an example!",
        "isGroup": false,
        "groupParticipant": "",
        "ruleId": 42
}

我应该得到这样的回应

{
    "replies": [
        {
            "message": "Example reply 1"
        }

在 Python 中使用 huggingface API。请帮我。

标签: python

解决方案


推荐阅读