feat: add llm Select to KeywordExtractForm #918 (#1492)

### What problem does this PR solve?

feat: add llm Select to KeywordExtractForm #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-12 17:22:01 +08:00
committed by GitHub
parent a5a617b7a3
commit 0c9a7caa9d
8 changed files with 42 additions and 7 deletions

View File

@@ -57,3 +57,10 @@
text-align: center;
// align-items: center;
}
.jsonView {
word-wrap: break-word;
overflow: auto;
max-width: 300px;
max-height: 500px;
}

View File

@@ -7,6 +7,8 @@ import 'react18-json-view/src/style.css';
import { Operator } from '../../constant';
import { useReplaceIdWithText } from '../../hooks';
import styles from './index.less';
interface IProps extends React.PropsWithChildren {
nodeId: string;
}
@@ -32,7 +34,7 @@ const NodePopover = ({ children, nodeId }: IProps) => {
<JsonView
src={replacedOutput}
displaySize={30}
style={{ maxWidth: 300, maxHeight: 500 }}
className={styles.jsonView}
/>
</div>
) : undefined;