From b2fb4427e95d7c2af80de89087fb3cc007848d5f Mon Sep 17 00:00:00 2001 From: Rachel Hu Date: Sun, 5 Jan 2025 20:39:13 -0800 Subject: [PATCH 1/4] reorganize the display of three buttons , and --- .../playground/MarkdownExtractContainer.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/components/playground/MarkdownExtractContainer.tsx b/app/components/playground/MarkdownExtractContainer.tsx index 8e995b8..bdc1949 100644 --- a/app/components/playground/MarkdownExtractContainer.tsx +++ b/app/components/playground/MarkdownExtractContainer.tsx @@ -375,7 +375,15 @@ const MarkdownExtractContainer = () => {
{filename} -
+ + {/* First row with two buttons side by side */} +
+ + +
+ + {/* Extract button below */} +
- -
)} {selectedFile?.extractState === ExtractState.UPLOADING && ( From 13346107a67de17a438ca489a0b0e95637bb537b Mon Sep 17 00:00:00 2001 From: Rachel Hu Date: Sun, 5 Jan 2025 20:45:08 -0800 Subject: [PATCH 2/4] personal identifiable information (pii) display in two lines. can you make the box wider, so this text display in one line. --- app/components/playground/ExtractSettingsChecklist.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/playground/ExtractSettingsChecklist.tsx b/app/components/playground/ExtractSettingsChecklist.tsx index 54e0c2f..9e47a89 100644 --- a/app/components/playground/ExtractSettingsChecklist.tsx +++ b/app/components/playground/ExtractSettingsChecklist.tsx @@ -9,7 +9,7 @@ const ExtractSettingsChecklist = ({ removePIIOnly }: ExtractSettingsChecklistPro const { extractSettings, toggleExtractSetting } = usePlaygroundStore(); return (
Remove from output:
From bd1d7649e60cd81dff7c105126af88965da2990b Mon Sep 17 00:00:00 2001 From: Rachel Hu Date: Sun, 5 Jan 2025 20:47:52 -0800 Subject: [PATCH 3/4] ap-base was the default selection. change ap-pro to be the default --- app/hooks/usePlaygroundStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hooks/usePlaygroundStore.ts b/app/hooks/usePlaygroundStore.ts index 2d61736..4ebee83 100644 --- a/app/hooks/usePlaygroundStore.ts +++ b/app/hooks/usePlaygroundStore.ts @@ -96,7 +96,7 @@ const initialFileState = { }; const usePlaygroundStore = create((set) => ({ - modelType: ModelType.BASE, + modelType: ModelType.PRO, extractSettings: { removePII: true, includePageNumbers: true, From e758049974398147d170d0175aae282f18deba1c Mon Sep 17 00:00:00 2001 From: Rachel Hu Date: Sun, 5 Jan 2025 20:48:49 -0800 Subject: [PATCH 4/4] change ap-pro to anyparser-pro --- app/components/playground/ModelToggleDropdown.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/playground/ModelToggleDropdown.tsx b/app/components/playground/ModelToggleDropdown.tsx index e76a95d..194baab 100644 --- a/app/components/playground/ModelToggleDropdown.tsx +++ b/app/components/playground/ModelToggleDropdown.tsx @@ -14,9 +14,9 @@ const ModelToggleDropdown = () => { setIsOpen(false); }; - const miniLabel = 'AP-base'; - const proLabel = 'AP-pro'; - const ultraLabel = 'AP-ultra'; + const miniLabel = 'AnyParser-base'; + const proLabel = 'AnyParser-pro'; + const ultraLabel = 'AnyParser-ultra'; const modelTypes = Object.values(ModelType).filter((value): value is ModelType => typeof value === 'number');