|
|
@@ -5,9 +5,9 @@ import './style.less';
|
|
|
import {
|
|
|
Button, Input, Form, Divider, Splitter, Select, InputNumber, InputNumberProps,
|
|
|
Radio, Switch, Row, Col, Slider, Space, RadioChangeEvent,
|
|
|
- Spin, message, Typography
|
|
|
+ Spin, message, Typography, Tooltip
|
|
|
} from 'antd';
|
|
|
-import { PlusCircleOutlined, MinusCircleOutlined, ArrowLeftOutlined } from '@ant-design/icons';
|
|
|
+import { PlusCircleOutlined, MinusCircleOutlined, ArrowLeftOutlined, InfoCircleOutlined } from '@ant-design/icons';
|
|
|
import { apis } from '@/apis';
|
|
|
import router from '@/router';
|
|
|
import LocalStorage from '@/LocalStorage';
|
|
|
@@ -527,7 +527,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
</div>
|
|
|
|
|
|
<div style={{ display: step === 2 ? 'block' : 'none' }} className='questionAnswerInfo-content'>
|
|
|
- <div className='flex-between'>
|
|
|
+ <div className='flex-between padding-bottom-16'>
|
|
|
<div>
|
|
|
<Button
|
|
|
className='btn-back'
|
|
|
@@ -645,7 +645,16 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
)}
|
|
|
</div>
|
|
|
</div>
|
|
|
- <h3>Prompt编写</h3>
|
|
|
+ <div className='section-title'>
|
|
|
+ Prompt编写与参数配置
|
|
|
+ <Tooltip
|
|
|
+ title="Prompt用于对大模型的回复做出一些列指令和约束。这段Prompt不会被用户看到。"
|
|
|
+ placement="right"
|
|
|
+ overlayStyle={{ fontSize: '12px' }}
|
|
|
+ >
|
|
|
+ <InfoCircleOutlined style={{ marginLeft: '8px', color: '#999', fontSize: '14px' }} />
|
|
|
+ </Tooltip>
|
|
|
+ </div>
|
|
|
<Splitter style={{ border: '1px solid #f0f0f0', borderRadius: '6px' }}>
|
|
|
<Splitter.Panel defaultSize="65%">
|
|
|
<div className='prompt'>
|