Home / File/ presets.ts — ui Source File

presets.ts — ui Source File

Architecture documentation for presets.ts, a typescript file in the ui codebase. 0 imports, 2 dependents.

Entity Profile

Dependency Diagram

graph LR
  89426f86_36d1_8e36_81ab_b4b18f3876c7["presets.ts"]
  e097816f_6d96_f113_8f37_4e2d8d220098["preset-selector.tsx"]
  e097816f_6d96_f113_8f37_4e2d8d220098 --> 89426f86_36d1_8e36_81ab_b4b18f3876c7
  5ee45142_aa10_ca73_456e_5946db3e53c3["page.tsx"]
  5ee45142_aa10_ca73_456e_5946db3e53c3 --> 89426f86_36d1_8e36_81ab_b4b18f3876c7
  style 89426f86_36d1_8e36_81ab_b4b18f3876c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

export interface Preset {
  id: string
  name: string
}

export const presets: Preset[] = [
  {
    id: "9cb0e66a-9937-465d-a188-2c4c4ae2401f",
    name: "Grammatical Standard English",
  },
  {
    id: "61eb0e32-2391-4cd3-adc3-66efe09bc0b7",
    name: "Summarize for a 2nd grader",
  },
  {
    id: "a4e1fa51-f4ce-4e45-892c-224030a00bdd",
    name: "Text to command",
  },
  {
    id: "cc198b13-4933-43aa-977e-dcd95fa30770",
    name: "Q&A",
  },
  {
    id: "adfa95be-a575-45fd-a9ef-ea45386c64de",
    name: "English to other languages",
  },
  {
    id: "c569a06a-0bd6-43a7-adf9-bf68c09e7a79",
    name: "Parse unstructured data",
  },
  {
    id: "15ccc0d7-f37a-4f0a-8163-a37e162877dc",
    name: "Classification",
  },
  {
    id: "4641ef41-1c0f-421d-b4b2-70fe431081f3",
    name: "Natural language to Python",
  },
  {
    id: "48d34082-72f3-4a1b-a14d-f15aca4f57a0",
    name: "Explain code",
  },
  {
    id: "dfd42fd5-0394-4810-92c6-cc907d3bfd1a",
    name: "Chat",
  },
]

Types

Frequently Asked Questions

What does presets.ts do?
presets.ts is a source file in the ui codebase, written in typescript. It belongs to the ApplicationExhibition domain.
What files import presets.ts?
presets.ts is imported by 2 file(s): page.tsx, preset-selector.tsx.
Where is presets.ts in the architecture?
presets.ts is located at apps/v4/app/(app)/examples/playground/data/presets.ts (domain: ApplicationExhibition, directory: apps/v4/app/(app)/examples/playground/data).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free