mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-19 18:19:14 +08:00
Fix: update link of deploy_local_llm.mdx (#6110)
### What problem does this PR solve? Links of [How to integrate with Ollama](https://github.com/infiniflow/ragflow/blob/main/docs/guides/models/deploy_local_llm.mdx) need to be update after #5555 ``` https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx -> https://github.com/infiniflow/ragflow/blob/main/docs/guides/models/deploy_local_llm.mdx ``` ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: jingfelix <jingfelix@outlook.com>
This commit is contained in:
parent
89a69eed72
commit
0fa44c5dd3
@ -20,7 +20,7 @@ const { Option } = Select;
|
||||
|
||||
const llmFactoryToUrlMap = {
|
||||
[LLMFactory.Ollama]:
|
||||
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx',
|
||||
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/models/deploy_local_llm.mdx',
|
||||
[LLMFactory.Xinference]:
|
||||
'https://inference.readthedocs.io/en/latest/user_guide',
|
||||
[LLMFactory.ModelScope]:
|
||||
@ -69,7 +69,7 @@ const OllamaModal = ({
|
||||
};
|
||||
const url =
|
||||
llmFactoryToUrlMap[llmFactory as LlmFactory] ||
|
||||
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx';
|
||||
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/models/deploy_local_llm.mdx';
|
||||
const optionsMap = {
|
||||
[LLMFactory.HuggingFace]: [
|
||||
{ value: 'embedding', label: 'embedding' },
|
||||
|
Loading…
x
Reference in New Issue
Block a user