mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-18 10:04:30 +08:00

### What problem does this PR solve? feat: Disable automatic saving of agent during running agent #3349 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
20 lines
625 B
TypeScript
20 lines
625 B
TypeScript
const getImageName = (prefix: string, length: number) =>
|
|
new Array(length)
|
|
.fill(0)
|
|
.map((x, idx) => `chunk-method/${prefix}-0${idx + 1}`);
|
|
|
|
export const ImageMap = {
|
|
book: getImageName('book', 4),
|
|
laws: getImageName('law', 2),
|
|
manual: getImageName('manual', 4),
|
|
picture: getImageName('media', 2),
|
|
naive: getImageName('naive', 2),
|
|
paper: getImageName('paper', 2),
|
|
presentation: getImageName('presentation', 2),
|
|
qa: getImageName('qa', 2),
|
|
resume: getImageName('resume', 2),
|
|
table: getImageName('table', 2),
|
|
one: getImageName('one', 2),
|
|
knowledge_graph: getImageName('knowledge-graph', 2),
|
|
};
|