mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
support chat model in huggingface (#2802)
### What problem does this PR solve? #2794 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
committed by
GitHub
parent
1bae479b37
commit
3f065c75da
@ -54,7 +54,10 @@ const OllamaModal = ({
|
||||
llmFactoryToUrlMap[llmFactory as LlmFactory] ||
|
||||
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx';
|
||||
const optionsMap = {
|
||||
HuggingFace: [{ value: 'embedding', label: 'embedding' }],
|
||||
HuggingFace: [
|
||||
{ value: 'embedding', label: 'embedding' },
|
||||
{ value: 'chat', label: 'chat' },
|
||||
],
|
||||
Xinference: [
|
||||
{ value: 'chat', label: 'chat' },
|
||||
{ value: 'embedding', label: 'embedding' },
|
||||
|
||||
Reference in New Issue
Block a user