This site has been created by McGill students Henri Lemoine, Fraser Lee, and Thomas Lemoine
as an attempt to create a "conversational FAQ" that can answer questions about AI alignment.
@@ -37,6 +39,7 @@ const Header: React.FC<{page: "index" | "semantic"}> = ({page}) => {
We hope that it can be a useful tool for the community, and we're eager to hear feedback and suggestions.
For a technical report on our implemention, see our LessWrong post.
- This site has been created by McGill students Henri Lemoine, Fraser Lee, and Thomas Lemoine
- as an attempt to create a "conversational FAQ" that can answer questions about AI alignment.
- When asked a question, we
-
-
-
Embed the question into a low dimensional semantic space
-
Pull the semantically closest passages out of a massive alignment dataset
-
Instruct an LLM to construct a response while citing these passages
-
Display this response in conversational flow with inline citations
- We hope that it can be a useful tool for the community, and we're eager to hear feedback and suggestions.
- For a technical report on our implemention, see our LessWrong post.
-
-
- >);
-};
-
-export default Header;
diff --git a/web/src/pages/index.tsx b/web/src/pages/index.tsx
index 6f6e397..12d2dae 100644
--- a/web/src/pages/index.tsx
+++ b/web/src/pages/index.tsx
@@ -5,8 +5,8 @@ import React from "react";
import { type NextPage } from "next";
import { useState } from "react";
-import Header from "../header";
-import SearchBox from "../searchbox";
+import Header from "../components/header";
+import SearchBox from "../components/searchbox";
type Citation = {
title: string;
diff --git a/web/src/pages/semantic.tsx b/web/src/pages/semantic.tsx
index dc49649..beb63af 100644
--- a/web/src/pages/semantic.tsx
+++ b/web/src/pages/semantic.tsx
@@ -3,8 +3,8 @@ const API_URL = process.env.NEXT_PUBLIC_API_URL || "http://127.0.0.1:3000";
import { type NextPage } from "next";
import React from "react";
import Head from "next/head";
-import Header from "../header";
-import SearchBox from "../searchbox";
+import Header from "../components/header";
+import SearchBox from "../components/searchbox";
import { useState } from "react";
const Semantic: NextPage = () => {
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index f304db2..e6fa162 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -2,6 +2,11 @@
@tailwind components;
@tailwind utilities;
+body{
+ @apply min-h-screen; /* full height of viewport */
+ font-family: warnock-pro, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
+}
+
h1 {
@apply text-4xl font-bold my-4;
}
@@ -27,12 +32,6 @@ p {
@apply my-2;
}
-button {
- @apply bg-white hover:bg-gray-300 px-0.5 py-0 w-fit h-fit;
- @apply border border-gray-300;
- @apply text-gray-700;
-}
-
ol {
@apply list-decimal;
}