webman/ai 让其做动作后无响应

WJD

问题描述

这里写描述
截图

自已部署了一套webman/Ai的代码,香港环境的服务器,其他的问答可以正常流程,但这种他就会卡死,无响应。

GPT内容:

rolePrompt: 
prompt: 帮我将content字段的内容翻译一下,并按照content格式,放到新的translate字段中
context[0][role]: assistant
context[0][content]: 你好,我是AI助手,请问您需要什么帮助?
context[1][role]: user
context[1][content]: db.getCollection("digit_human_course").drop();
db.createCollection("digit_human_course");

// ----------------------------
// Documents of digit_human_course
// ----------------------------
db.getCollection("digit_human_course").insert([ {
    _id: ObjectId("64d257f1ed173012b22fa4f4"),
    member_id: NumberLong("109"),
    pid: NumberInt("2"),
    content: [
        {
            A: "Excuse me! Can you tell me where the nearest post office is?",
            B: "Sure! It's just around the corner. Take a left at the next intersection and you'll see it on your right."
        },
        {
            A: "Excuse me! Do you have a pen I can borrow?",
            B: "Of course! Here you go."
        },
        {
            A: "Excuse me! Is this seat taken?",
            B: "No, it's not. You can sit here."
        },
        {
            A: "Excuse me! Can you help me find the restroom?",
            B: "Certainly! Go straight ahead and you'll see it on your left."
        },
        {
            A: "Excuse me! Do you know what time the museum opens?",
            B: "I'm not sure, but I think it opens at 10 am."
        },
        {
            A: "Excuse me! Can you recommend a good restaurant in the area?",
            B: "Of course! There's a great Italian restaurant just down the street."
        },
        {
            A: "Excuse me! Do you have any vegetarian options on the menu?",
            B: "Yes, we do. We have a few vegetarian dishes you can choose from."
        },
        {
            A: "Excuse me! Can you help me with this math problem?",
            B: "Sure! What do you need help with?"
        },
        {
            A: "Excuse me! Is this the right bus stop for downtown?",
            B: "No, I'm afraid you're at the wrong stop. You need to go two blocks down."
        },
        {
            A: "",
            B: "Certainly! There's a ticket booth just across the street."
        }
    ],

    create_time: NumberInt("1691506673"),
    update_time: NumberInt("1691506673")
} ]);
这个是一份mongo数据表
context[2][role]: assistant
context[2][content]: 这是一个名为`digit_human_course`的MongoDB数据表。该表包含了一个名为`content`的字段,其中包含了一系列的对话内容。每个对话内容都有两个字段,分别是`A`和`B`,表示两个人之间的对话。除此之外,还有`member_id`、`pid`、`create_time`和`update_time`字段,分别表示成员ID、进程ID、创建时间和更新时间。
model: gpt-3.5-turbo-0613
apiKey: 
maxTokens: 2000
temperature: 0.5
440 1 0
1个回答

walkor

可能是chatgpt理解有歧义,发下全部内容,我试下

  • WJD 2023-08-09

    群主,内容我更新到问题里面了

  • walkor 2023-08-09

    截图
    官网测试正常,看看是不是设置了对话的什么参数。我用的默认参数如下
    截图

  • WJD 2023-08-10

    这个参数并没有调整

  • WJD 2023-08-10

    这边感觉可能是GPT的问题,因为后续我也可以正常使用了

🔝