feat: add PubMed operator #918 (#1589)

### What problem does this PR solve?

feat: modify the translation of baiduDescription #918
feat: add PubMed operator #918
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-18 15:45:34 +08:00
committed by GitHub
parent 0b94376cd4
commit cf4fff64f8
9 changed files with 76 additions and 8 deletions

View File

@ -38,6 +38,7 @@ import {
initialGenerateValues,
initialKeywordExtractValues,
initialMessageValues,
initialPubMedValues,
initialRelevantValues,
initialRetrievalValues,
initialRewriteQuestionValues,
@ -90,6 +91,7 @@ export const useInitializeOperatorParams = () => {
[Operator.DuckDuckGo]: initialDuckValues,
[Operator.Baidu]: initialBaiduValues,
[Operator.Wikipedia]: initialWikipediaValues,
[Operator.PubMed]: initialPubMedValues,
};
}, [llmId]);