import { JsonInput, Tabs, Textarea } from "@mantine/core"; import { useState } from "react"; const defaultSystemPrompt = `You are a helpful assistant that answers questions based on the provided context. If you don't know the answer, just say that you don't know, don't try to make up an answer.`; const defaultParameters = { temperature: 0.5, max_tokens: 100, }; export default function ChatPage() { const [prompt, setPrompt] = useState(""); const [systemPrompt, setSystemPrompt] = useState(defaultSystemPrompt); const [parameters, setParameters] = useState(defaultParameters); return ( Prompt System Prompt Parameters