From b91e226063216a0586cb55063c2b084bc6a2c819 Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 12 Jul 2023 13:53:06 +0800 Subject: [PATCH] fix: api doc update conversation list api to real response (#548) --- web/app/components/develop/template/template.en.mdx | 1 - web/app/components/develop/template/template.zh.mdx | 1 - .../components/develop/template/template_chat.en.mdx | 10 ++++------ .../components/develop/template/template_chat.zh.mdx | 10 ++++------ 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/web/app/components/develop/template/template.en.mdx b/web/app/components/develop/template/template.en.mdx index a486987492..4816adfcd5 100644 --- a/web/app/components/develop/template/template.en.mdx +++ b/web/app/components/develop/template/template.en.mdx @@ -138,7 +138,6 @@ For high-quality text generation, such as articles, summaries, and translations, "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, "created_at": 692233200 }, { diff --git a/web/app/components/develop/template/template.zh.mdx b/web/app/components/develop/template/template.zh.mdx index 673a42c270..74aa168f2d 100644 --- a/web/app/components/develop/template/template.zh.mdx +++ b/web/app/components/develop/template/template.zh.mdx @@ -138,7 +138,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, "created_at": 692233200 }, { diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx index fd3ee37efb..b690815b11 100644 --- a/web/app/components/develop/template/template_chat.en.mdx +++ b/web/app/components/develop/template/template_chat.en.mdx @@ -137,12 +137,11 @@ For versatile conversational apps using a Q&A format, call the chat-messages API "data": [ { "id": "WAz8eIbvDR60rouK", - "username": "FrankMcCallister", - "phone_number": "1-800-759-3000", - "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", - "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, + "inputs": {}, + "query": "...", + "answer": "...", + "feedback": "like", "created_at": 692233200 }, { @@ -208,7 +207,6 @@ For versatile conversational apps using a Q&A format, call the chat-messages API "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, "created_at": 692233200 }, { diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx index 421d6da126..a6a611d64a 100644 --- a/web/app/components/develop/template/template_chat.zh.mdx +++ b/web/app/components/develop/template/template_chat.zh.mdx @@ -142,7 +142,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, "created_at": 692233200 }, { @@ -203,12 +202,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' "data": [ { "id": "WAz8eIbvDR60rouK", - "username": "FrankMcCallister", - "phone_number": "1-800-759-3000", - "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", - "display_name": null, "conversation_id": "xgQQXg3hrtjh7AvZ", - "last_active_at": 705103200, + "inputs": {}, + "query": "...", + "answer": "...", + "feedback": "like", "created_at": 692233200 }, {