feat: Add component DeepL #1739 (#1870)

### What problem does this PR solve?

feat: Add component DeepL #1739

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-08 15:08:31 +08:00
committed by GitHub
parent db8f83104f
commit 439da32234
10 changed files with 173 additions and 7 deletions

View File

@ -24,6 +24,7 @@ import RetrievalForm from '../retrieval-form';
import RewriteQuestionForm from '../rewrite-question-form';
import WikipediaForm from '../wikipedia-form';
import DeepLForm from '../deepl-form';
import styles from './index.less';
interface IProps {
@ -48,6 +49,7 @@ const FormMap = {
[Operator.Google]: GoogleForm,
[Operator.Bing]: BingForm,
[Operator.GoogleScholar]: GoogleScholarForm,
[Operator.DeepL]: DeepLForm,
};
const EmptyContent = () => <div>empty</div>;