example: embedchain playground (#384)

This commit is contained in:
Sahil Kumar Yadav
2023-08-08 08:43:05 -07:00
committed by GitHub
parent 5e94980aaa
commit ec09a8a6fc
60 changed files with 13340 additions and 0 deletions
@@ -0,0 +1,25 @@
import Wrapper from "@/components/PageWrapper";
import Sidebar from "@/containers/Sidebar";
import ChatWindow from "@/containers/ChatWindow";
import { useState } from "react";
import Head from "next/head";
export default function App() {
const [botTitle, setBotTitle] = useState("");
return (
<>
<Head>
<title>{botTitle}</title>
</Head>
<Sidebar />
<Wrapper>
<ChatWindow
embedding_model="open_ai"
app_type="app"
setBotTitle={setBotTitle}
/>
</Wrapper>
</>
);
}