JobSmithManipulation
commited on
Commit
·
3f21a7a
1
Parent(s):
512aaee
change url of local llm deploy guide (#2659)
Browse files### 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
web/src/pages/user-setting/setting-model/ollama-modal/index.tsx
CHANGED
@@ -9,7 +9,8 @@ type FieldType = IAddLlmRequestBody & { vision: boolean };
|
|
9 |
const { Option } = Select;
|
10 |
|
11 |
const llmFactoryToUrlMap = {
|
12 |
-
Ollama:
|
|
|
13 |
Xinference: 'https://inference.readthedocs.io/en/latest/user_guide',
|
14 |
LocalAI: 'https://localai.io/docs/getting-started/models/',
|
15 |
'LM-Studio': 'https://lmstudio.ai/docs/basics',
|
@@ -51,7 +52,7 @@ const OllamaModal = ({
|
|
51 |
};
|
52 |
const url =
|
53 |
llmFactoryToUrlMap[llmFactory as LlmFactory] ||
|
54 |
-
'https://
|
55 |
return (
|
56 |
<Modal
|
57 |
title={t('addLlmTitle', { name: llmFactory })}
|
@@ -92,6 +93,8 @@ const OllamaModal = ({
|
|
92 |
<Option value="embedding">embedding</Option>
|
93 |
<Option value="rerank">rerank</Option>
|
94 |
<Option value="image2text">image2text</Option>
|
|
|
|
|
95 |
</>
|
96 |
)}
|
97 |
</Select>
|
|
|
9 |
const { Option } = Select;
|
10 |
|
11 |
const llmFactoryToUrlMap = {
|
12 |
+
Ollama:
|
13 |
+
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx',
|
14 |
Xinference: 'https://inference.readthedocs.io/en/latest/user_guide',
|
15 |
LocalAI: 'https://localai.io/docs/getting-started/models/',
|
16 |
'LM-Studio': 'https://lmstudio.ai/docs/basics',
|
|
|
52 |
};
|
53 |
const url =
|
54 |
llmFactoryToUrlMap[llmFactory as LlmFactory] ||
|
55 |
+
'https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.mdx';
|
56 |
return (
|
57 |
<Modal
|
58 |
title={t('addLlmTitle', { name: llmFactory })}
|
|
|
93 |
<Option value="embedding">embedding</Option>
|
94 |
<Option value="rerank">rerank</Option>
|
95 |
<Option value="image2text">image2text</Option>
|
96 |
+
<Option value="audio2text">audio2text</Option>
|
97 |
+
<Option value="text2andio">text2andio</Option>
|
98 |
</>
|
99 |
)}
|
100 |
</Select>
|