From 3f16377412cea3101ff757ea5ee5ebe9b7cc8611 Mon Sep 17 00:00:00 2001 From: JobSmithManipulation <143315462+JobSmithManipulation@users.noreply.github.com> Date: Sun, 29 Sep 2024 15:39:05 +0800 Subject: [PATCH] change url of local llm deploy guide (#2659) ### What problem does this PR solve? ### Type of change - [x] Other (please describe): I made a mistake with an URL and now I need to change it --- .../user-setting/setting-model/ollama-modal/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx b/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx index 489c0f255..cb9bd2546 100644 --- a/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx +++ b/web/src/pages/user-setting/setting-model/ollama-modal/index.tsx @@ -9,7 +9,8 @@ type FieldType = IAddLlmRequestBody & { vision: boolean }; const { Option } = Select; const llmFactoryToUrlMap = { - Ollama: 'https://huggingface.co/docs/text-embeddings-inference/quick_tour', + Ollama: + 'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx', Xinference: 'https://inference.readthedocs.io/en/latest/user_guide', LocalAI: 'https://localai.io/docs/getting-started/models/', 'LM-Studio': 'https://lmstudio.ai/docs/basics', @@ -51,7 +52,7 @@ const OllamaModal = ({ }; const url = llmFactoryToUrlMap[llmFactory as LlmFactory] || - 'https://huggingface.co/docs/text-embeddings-inference/quick_tour'; + 'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx'; return ( embedding + + )}