mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-17 05:07:23 +08:00
Feat: Added support for session graph and session essence templates. (#16851)
### Summary Feat: Added support for session graph and session essence templates.
This commit is contained in:
10
web/src/utils/compilation-template-util.ts
Normal file
10
web/src/utils/compilation-template-util.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { capitalize, lowerCase } from 'lodash';
|
||||
|
||||
export function formatKindLabel(kind: string): string {
|
||||
return capitalize(lowerCase(kind));
|
||||
}
|
||||
export const isCreateCompilationTemplateGroup = (
|
||||
id?: string,
|
||||
): id is undefined => {
|
||||
return !id;
|
||||
};
|
||||
Reference in New Issue
Block a user