diff --git a/packages/nextjs/src/app/oracle/page.tsx b/packages/nextjs/src/app/create-oracle/page.tsx similarity index 72% rename from packages/nextjs/src/app/oracle/page.tsx rename to packages/nextjs/src/app/create-oracle/page.tsx index 54a0381..bbc5210 100644 --- a/packages/nextjs/src/app/oracle/page.tsx +++ b/packages/nextjs/src/app/create-oracle/page.tsx @@ -11,7 +11,7 @@ import { LoadingIcon } from "@/app/_components/icons"; import { cn } from "@/lib/utils"; import { toast } from "sonner"; -export default function Chat() { +function Chat() { const [toolCall, setToolCall] = useState(); const { messages, input, handleInputChange, handleSubmit, isLoading } = useChat({ @@ -60,8 +60,8 @@ export default function Chat() { .slice(-1)[0]; return ( -
-
+
+
= React.memo( prevProps.children === nextProps.children && prevProps.className === nextProps.className, ); + +export default function CreateOracle() { + return ( +
+

+ Train and try your Schola oracle +

+
+
+ +

+ Train Your Oracle +

+
+

+ Teach your oracle by providing information. This will help it + learn and provide better answers to your students. +

+
+
+ +
+ +
+ +

+ Preview Student View +

+
+

+ This is how your students will interact with the oracle. Try + asking questions to see how it responds based on what + you've taught it. +

+
+
+ +
+
+
+ ); +}