From 6a4de8d05ce46dc29ac69f696c419a57e604f516 Mon Sep 17 00:00:00 2001 From: Sophie Zhang Date: Thu, 16 Nov 2023 01:30:42 -0500 Subject: sorting? --- src/client/apis/gpt/customization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/apis/gpt') diff --git a/src/client/apis/gpt/customization.ts b/src/client/apis/gpt/customization.ts index fec0a50f9..f9dabd863 100644 --- a/src/client/apis/gpt/customization.ts +++ b/src/client/apis/gpt/customization.ts @@ -82,7 +82,7 @@ export const generatePalette = async (inputData: any) => { textSize: 'number', textContent: 'string', }) + - '. Finally, imageColors are the main hex colors of the images in the collection. You are going to generate three distinct variants of color palettes for the user to choose from based mostly on collectionDescription, and loosely on the text content and text size of the documents. You should also take the imageColors into account, but mostly rely on the text content. The variants should start with a light palette and grow increasingly more intense and vibrant. Return a json array of three objects in this format:' + + '. Finally, imageColors are the main hex colors of the images in the collection. You are going to generate three distinct variants of color palettes for the user to choose from based mostly on collectionDescription, and loosely on the text content and text size of the documents. You should slightly take imageColors into account, but primarly focus on crafting a palette that matches the text content. The variants should start with a light palette and grow increasingly more intense and vibrant. Return a json array of three objects in this format:' + JSON.stringify({ collectionBackgroundColor: 'string', documentsWithColors: 'DocumentWithColor[]', -- cgit v1.2.3-70-g09d2