You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Chatbase转录功能用户消息显示(No content)问题技术求助

Fix: Chatbase Transcripts Showing (No Content) for User Messages

Let's break down what's happening here: your user messages are making it to the reports tab, so the data is reaching Chatbase successfully—but the transcripts view isn't rendering the user content correctly. This almost always boils down to a field mapping issue with the Generic Message API you're using. Here's how to fix it:

1. Verify the API payload structure for user messages

Chatbase's Generic Message API expects user messages to use specific field names, and it sounds like you might be putting your user's text in the wrong field. Instead of using message, you should be placing the user's message content in the text field.

A valid user message payload should look something like this:

{
  "userId": "unique-user-identifier",
  "type": "user",
  "text": "Actual user message content here",
  "timestamp": 1699999999999
}

The reports tab might be lenient about field names for statistical purposes, but the transcripts view relies strictly on the correct schema to display content.

2. Ensure the type field is explicitly set to "user"

If you're not specifying "type": "user" in your user message requests, Chatbase might not categorize the message correctly. Even if the data ends up in reports, the transcripts parser needs this flag to recognize it as a user message and render its content.

3. Double-check for missing required fields

Make sure your payload includes all mandatory fields:

  • userId: Unique identifier for the user
  • type: Must be "user" for user messages, "bot" for bot responses
  • text: The actual message content
  • timestamp: Unix timestamp (in milliseconds) of when the message was sent

Missing any of these could cause the transcripts view to fail to parse the user message content, even if the raw data is stored for reports.

4. Test with a minimal payload

To isolate the issue, send a stripped-down user message request with only the required fields. If this shows up correctly in transcripts, you can gradually add back any additional fields you were using to find which one was causing the conflict.

Once you adjust your API payload to match the correct schema, the user message content should start appearing in the transcripts view instead of (No Content).

内容的提问来源于stack exchange,提问作者rjam

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 08:22:04