mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 03:26:53 +08:00
feat: Add n1n provider (#12680)
This PR adds n1n as an LLM provider to RAGFlow. Co-authored-by: Qun <qun@ip-10-5-5-38.us-west-2.compute.internal>
This commit is contained in:
4
web/src/assets/svg/llm/n1n.svg
Normal file
4
web/src/assets/svg/llm/n1n.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<rect x="2" y="2" width="20" height="20" rx="5" ry="5" fill="#000000" stroke="none" />
|
||||
<text x="50%" y="54%" dominant-baseline="middle" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#ffffff" font-weight="bold">n1n</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 441 B |
@ -83,6 +83,7 @@ const svgIcons = [
|
||||
LLMFactory.StepFun,
|
||||
LLMFactory.MinerU,
|
||||
LLMFactory.PaddleOCR,
|
||||
LLMFactory.N1n,
|
||||
// LLMFactory.DeerAPI,
|
||||
];
|
||||
|
||||
|
||||
@ -62,6 +62,7 @@ export enum LLMFactory {
|
||||
Builtin = 'Builtin',
|
||||
MinerU = 'MinerU',
|
||||
PaddleOCR = 'PaddleOCR',
|
||||
N1n = 'n1n',
|
||||
}
|
||||
|
||||
// Please lowercase the file name
|
||||
@ -129,6 +130,7 @@ export const IconMap = {
|
||||
[LLMFactory.Builtin]: 'builtin',
|
||||
[LLMFactory.MinerU]: 'mineru',
|
||||
[LLMFactory.PaddleOCR]: 'paddleocr',
|
||||
[LLMFactory.N1n]: 'n1n',
|
||||
};
|
||||
|
||||
export const APIMapUrl = {
|
||||
@ -181,4 +183,5 @@ export const APIMapUrl = {
|
||||
[LLMFactory.TokenPony]: 'https://www.tokenpony.cn/#/user/keys',
|
||||
[LLMFactory.DeepInfra]: 'https://deepinfra.com/dash/api_keys',
|
||||
[LLMFactory.PaddleOCR]: 'https://www.paddleocr.ai/latest/',
|
||||
[LLMFactory.N1n]: 'https://docs.n1n.ai',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user