mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 07:29:02 +08:00
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
This commit is contained in:
parent
d3b37b0b70
commit
3f16377412
@ -9,7 +9,8 @@ type FieldType = IAddLlmRequestBody & { vision: boolean };
|
|||||||
const { Option } = Select;
|
const { Option } = Select;
|
||||||
|
|
||||||
const llmFactoryToUrlMap = {
|
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',
|
Xinference: 'https://inference.readthedocs.io/en/latest/user_guide',
|
||||||
LocalAI: 'https://localai.io/docs/getting-started/models/',
|
LocalAI: 'https://localai.io/docs/getting-started/models/',
|
||||||
'LM-Studio': 'https://lmstudio.ai/docs/basics',
|
'LM-Studio': 'https://lmstudio.ai/docs/basics',
|
||||||
@ -51,7 +52,7 @@ const OllamaModal = ({
|
|||||||
};
|
};
|
||||||
const url =
|
const url =
|
||||||
llmFactoryToUrlMap[llmFactory as LlmFactory] ||
|
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 (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
title={t('addLlmTitle', { name: llmFactory })}
|
title={t('addLlmTitle', { name: llmFactory })}
|
||||||
@ -92,6 +93,8 @@ const OllamaModal = ({
|
|||||||
<Option value="embedding">embedding</Option>
|
<Option value="embedding">embedding</Option>
|
||||||
<Option value="rerank">rerank</Option>
|
<Option value="rerank">rerank</Option>
|
||||||
<Option value="image2text">image2text</Option>
|
<Option value="image2text">image2text</Option>
|
||||||
|
<Option value="audio2text">audio2text</Option>
|
||||||
|
<Option value="text2andio">text2andio</Option>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Select>
|
</Select>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user