fresh start: post pull bot

This commit is contained in:
vintro 2023-12-12 19:20:24 -05:00
parent d798f775ab
commit 8229ecab45
No known key found for this signature in database
6 changed files with 16 additions and 26 deletions

View File

@ -1,6 +1,5 @@
--- ---
title: "Open-Sourcing Tutor-GPT" title: "Open-Sourcing Tutor-GPT"
enableToc: false
--- ---
![[assets/human_machine_learning.jpeg]] ![[assets/human_machine_learning.jpeg]]
@ -39,7 +38,7 @@ Bloom was built and prompted to elicit this specific type of teaching behavior.
![[assets/bloombot langchain diagram.png]] ![[assets/bloombot langchain diagram.png]]
It consists of two “chain” objects from [LangChain](https://python.langchain.com/en/latest/index.html) —a *thought* and *response* chain. The _thought_ chain exists to prompt the model to generate a pedagogical thought about the students input—e.g. a students mental state, learning goals, preferences for the conversation, quality of reasoning, knowledge of the text, etc. The *response*chain takes that _thought_ and generates a response. It consists of two “chain” objects from [LangChain](https://python.langchain.com/en/latest/index.html) —a _thought_ and _response_ chain. The _thought_ chain exists to prompt the model to generate a pedagogical thought about the students input—e.g. a students mental state, learning goals, preferences for the conversation, quality of reasoning, knowledge of the text, etc. The *response*chain takes that _thought_ and generates a response.
Each chain has a `ConversationSummaryBufferMemory` object summarizing the respective “conversations.” The _thought_ chain summarizes the thoughts into a rank-ordered academic needs list that gains specificity and gets reprioritized with each student input. The _response_ chain summarizes the dialogue in an attempt to avoid circular conversations and record learning progress. Each chain has a `ConversationSummaryBufferMemory` object summarizing the respective “conversations.” The _thought_ chain summarizes the thoughts into a rank-ordered academic needs list that gains specificity and gets reprioritized with each student input. The _response_ chain summarizes the dialogue in an attempt to avoid circular conversations and record learning progress.

View File

@ -1,7 +1,5 @@
--- ---
title: "Theory-of-Mind Is All You Need" title: "Theory-of-Mind Is All You Need"
enableToc: false
--- ---
## TL;DR ## TL;DR

View File

@ -86,6 +86,7 @@ links:
``` ```
### Code Block Titles ### Code Block Titles
To add code block titles with Quartz: To add code block titles with Quartz:
1. Ensure that code block titles are enabled in Quartz's configuration: 1. Ensure that code block titles are enabled in Quartz's configuration:

View File

@ -14,8 +14,8 @@ const config: QuartzConfig = {
defaultDateType: "created", defaultDateType: "created",
theme: { theme: {
typography: { typography: {
header: "Spectral", header: "Exo 2",
body: "Spectral", body: "Hind Madurai",
code: "Ubuntu Mono", code: "Ubuntu Mono",
}, },
colors: { colors: {
@ -25,9 +25,9 @@ const config: QuartzConfig = {
gray: "#b8b8b8", gray: "#b8b8b8",
darkgray: "#4e4e4e", darkgray: "#4e4e4e",
dark: "#2b2b2b", dark: "#2b2b2b",
secondary: "#284b63", secondary: "#4e4e4e",
tertiary: "#84a59d", tertiary: "#0a0a0a",
highlight: "rgba(143, 159, 169, 0.15)", highlight: "rgba(128, 128, 128, 0.15)",
}, },
darkMode: { darkMode: {
light: "#161618", light: "#161618",
@ -35,9 +35,9 @@ const config: QuartzConfig = {
gray: "#646464", gray: "#646464",
darkgray: "#d4d4d4", darkgray: "#d4d4d4",
dark: "#ebebec", dark: "#ebebec",
secondary: "#7b97aa", secondary: "#999999",
tertiary: "#84a59d", tertiary: "#ebebec",
highlight: "rgba(143, 159, 169, 0.15)", highlight: "rgba(211, 211, 211, 0.15)",
}, },
}, },
}, },

View File

@ -7,8 +7,8 @@ export const sharedPageComponents: SharedLayout = {
header: [], header: [],
footer: Component.Footer({ footer: Component.Footer({
links: { links: {
GitHub: "https://github.com/jackyzha0/quartz", GitHub: "https://github.com/plastic-labs/blog",
"Discord Community": "https://discord.gg/cRFFHYye7t", "Discord Community": "https://discord.gg/plasticlabs",
}, },
}), }),
} }
@ -24,25 +24,17 @@ export const defaultContentPageLayout: PageLayout = {
left: [ left: [
Component.PageTitle(), Component.PageTitle(),
Component.MobileOnly(Component.Spacer()), Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(), Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()), Component.DesktopOnly(Component.TableOfContents()),
], ],
right: [ right: [
Component.Graph(), Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
Component.Backlinks(),
], ],
} }
// components for pages that display lists of pages (e.g. tags or folders) // components for pages that display lists of pages (e.g. tags or folders)
export const defaultListPageLayout: PageLayout = { export const defaultListPageLayout: PageLayout = {
beforeBody: [Component.ArticleTitle()], beforeBody: [Component.ArticleTitle()],
left: [ left: [],
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
],
right: [], right: [],
} }

View File

@ -27,7 +27,7 @@ section {
} }
::selection { ::selection {
background: color-mix(in srgb, var(--tertiary) 75%, transparent); background: color-mix(in srgb, var(--highlight) 75%, transparent);
color: var(--darkgray); color: var(--darkgray);
} }