diff --git a/src/components/common/LeftNavigator.vue b/src/components/common/LeftNavigator.vue index 92c3c43c..04ac44ed 100644 --- a/src/components/common/LeftNavigator.vue +++ b/src/components/common/LeftNavigator.vue @@ -1,11 +1,11 @@ diff --git a/src/components/conversation/Introduction.vue b/src/components/conversation/Introduction.vue new file mode 100644 index 00000000..81baa886 --- /dev/null +++ b/src/components/conversation/Introduction.vue @@ -0,0 +1,101 @@ + + + + + diff --git a/src/components/conversation/IntroductionItem.vue b/src/components/conversation/IntroductionItem.vue new file mode 100644 index 00000000..98d4cd52 --- /dev/null +++ b/src/components/conversation/IntroductionItem.vue @@ -0,0 +1,32 @@ + + + + + diff --git a/src/components/conversation/Message.vue b/src/components/conversation/Message.vue index d5836b95..277463de 100644 --- a/src/components/conversation/Message.vue +++ b/src/components/conversation/Message.vue @@ -35,9 +35,6 @@ export default defineComponent({ } } }, - data() { - return {}; - }, computed: { conversationId() { return this.$route.params?.id?.toString(); diff --git a/src/components/conversation/MessageContent.vue b/src/components/conversation/MessageContent.vue index 7f909af1..4e8a872e 100644 --- a/src/components/conversation/MessageContent.vue +++ b/src/components/conversation/MessageContent.vue @@ -28,9 +28,6 @@ export default defineComponent({ } } }, - data() { - return {}; - }, computed: { conversationId() { return this.$route.params?.id?.toString(); diff --git a/src/i18n/zh/conversation/index.ts b/src/i18n/zh/conversation/index.ts index 630f5b40..b2e6f562 100644 --- a/src/i18n/zh/conversation/index.ts +++ b/src/i18n/zh/conversation/index.ts @@ -1,5 +1,7 @@ import message from './message'; +import title from './title'; export default { - message + message, + title }; diff --git a/src/i18n/zh/conversation/message.ts b/src/i18n/zh/conversation/message.ts index 02d12ee4..21f20e7f 100644 --- a/src/i18n/zh/conversation/message.ts +++ b/src/i18n/zh/conversation/message.ts @@ -4,5 +4,14 @@ export default { noInput: '问题不能为空', apiInfo: '本服务由「知数云」提供技术支持', tryForFree: '免费使用', - initializing: '初始化中,请稍后...' + initializing: '初始化中,请稍后...', + writeCode: '写一段 JavaScript 代码,发送HTTP请求', + writeEmail: '写一封邮件给 Bob,告诉他我刚刚搬家了', + explainDefinition: '用简单的术语解释量子计算', + rememberHistory: '可以记住用户说过的话', + supportStream: '支持流式数据传输', + rejectInvalidPrompt: '可以拒绝回答不恰当的提问', + generateInCorrect: '可能偶尔产生不正确的信息', + generateHarmfulInfo: '可能偶尔产生有害的指令或有偏见的内容', + onlyKnowBefore2021: '对2021年之后的世界和事件了解有限' }; diff --git a/src/i18n/zh/conversation/title.ts b/src/i18n/zh/conversation/title.ts new file mode 100644 index 00000000..105b9693 --- /dev/null +++ b/src/i18n/zh/conversation/title.ts @@ -0,0 +1,5 @@ +export default { + example: '样例', + capabilities: '功能', + limitations: '限制' +}; diff --git a/src/pages/conversation/Main.vue b/src/pages/conversation/Main.vue index 355d0d26..9eebb60f 100644 --- a/src/pages/conversation/Main.vue +++ b/src/pages/conversation/Main.vue @@ -1,6 +1,11 @@