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:
Tianyi Jing 2025-03-17 09:35:37 +08:00 committed by GitHub
parent 89a69eed72
commit 0fa44c5dd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ const { Option } = Select;
const llmFactoryToUrlMap = { const llmFactoryToUrlMap = {
[LLMFactory.Ollama]: [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]: [LLMFactory.Xinference]:
'https://inference.readthedocs.io/en/latest/user_guide', 'https://inference.readthedocs.io/en/latest/user_guide',
[LLMFactory.ModelScope]: [LLMFactory.ModelScope]:
@ -69,7 +69,7 @@ const OllamaModal = ({
}; };
const url = const url =
llmFactoryToUrlMap[llmFactory as LlmFactory] || 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 = { const optionsMap = {
[LLMFactory.HuggingFace]: [ [LLMFactory.HuggingFace]: [
{ value: 'embedding', label: 'embedding' }, { value: 'embedding', label: 'embedding' },