diff --git a/src/config/config.ts b/src/config/config.ts index 7567b36..cad3041 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -124,7 +124,7 @@ export class ConfigFactory { MaxTokens: 1024, Temperature: 0.5, TopP: 0.3, - SystemMessages: [this.Prompt as string,'遇到*星或者星星这样的文字则使用()包裹起来'], + SystemMessages: [this.Prompt as string], UserMessages:[], Prefill: true, ModelName: this.Model, diff --git a/src/pages/MainPage/MainArea/Antechamber/MyInput/index.tsx b/src/pages/MainPage/MainArea/Antechamber/MyInput/index.tsx index 97e81d7..58ef77a 100644 --- a/src/pages/MainPage/MainArea/Antechamber/MyInput/index.tsx +++ b/src/pages/MainPage/MainArea/Antechamber/MyInput/index.tsx @@ -21,6 +21,10 @@ export default function MyInput({ toRoom }: Props) { await toRoom(); dispatch(setInitMsg(`我的高考地点在${provinceName},我选择的科目是${subjectGroup},我的高考分数为${expectedScore}分。我适合哪些学校和专业`)); }; + const handleReadWorld = async () => { + await toRoom(); + dispatch(setInitMsg(`这是我的文档地址https://static-data.ycymedu.com/pdf/663640899633221.pdf,读取它。并给出见解`)) + } return (