diff options
| author | MohamedBassem <me@mbassem.com> | 2024-10-05 15:17:15 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-10-05 17:15:36 +0000 |
| commit | 03e938a903f520ff4c6976d873355a0f44278a9e (patch) | |
| tree | c78a3359903518f183509655ba9e10f84ee94097 | |
| parent | 1f7da9ae38a6f6304f8ab78271e4331614c450f9 (diff) | |
| download | karakeep-03e938a903f520ff4c6976d873355a0f44278a9e.tar.zst | |
fix(web): Simplify the language for inference settings
| -rw-r--r-- | apps/web/app/dashboard/settings/ai/page.tsx (renamed from apps/web/app/dashboard/settings/prompts/page.tsx) | 8 | ||||
| -rw-r--r-- | apps/web/app/dashboard/settings/page.tsx | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/web/app/dashboard/settings/prompts/page.tsx b/apps/web/app/dashboard/settings/ai/page.tsx index ba1c3f4f..009919a0 100644 --- a/apps/web/app/dashboard/settings/prompts/page.tsx +++ b/apps/web/app/dashboard/settings/ai/page.tsx @@ -251,12 +251,12 @@ export function PromptRow({ prompt }: { prompt: ZPrompt }) { ); } -export function CustomPrompts() { +export function TaggingRules() { const { data: prompts, isLoading } = api.prompts.list.useQuery(); return ( <div className="mt-2 flex flex-col gap-2"> - <div className="w-full text-xl font-medium sm:w-1/3">Custom Prompts</div> + <div className="w-full text-xl font-medium sm:w-1/3">Tagging Rules</div> <p className="mb-1 text-xs italic text-muted-foreground"> Prompts that you add here will be included as rules to the model during tag generation. You can view the final prompts in the prompt preview @@ -312,9 +312,9 @@ export default function PromptsPage() { <div className="rounded-md border bg-background p-4"> <div className="mb-2 flex flex-col gap-3"> <div className="w-full text-2xl font-medium sm:w-1/3"> - Inference Settings + AI Settings </div> - <CustomPrompts /> + <TaggingRules /> </div> </div> <div className="mt-4 rounded-md border bg-background p-4"> diff --git a/apps/web/app/dashboard/settings/page.tsx b/apps/web/app/dashboard/settings/page.tsx index 3c02df2e..97048657 100644 --- a/apps/web/app/dashboard/settings/page.tsx +++ b/apps/web/app/dashboard/settings/page.tsx @@ -13,18 +13,18 @@ export default async function Settings() { <ChangePassword /> </div> <div className="mt-4 rounded-md border bg-background p-4"> - <ImportExport /> - </div> - <div className="mt-4 rounded-md border bg-background p-4"> <Link className="flex items-center gap-2 text-lg font-medium" - href="/dashboard/settings/prompts" + href="/dashboard/settings/ai" > - Inference Settings + AI Settings <ExternalLink /> </Link> </div> <div className="mt-4 rounded-md border bg-background p-4"> + <ImportExport /> + </div> + <div className="mt-4 rounded-md border bg-background p-4"> <ApiKeySettings /> </div> </> |
