Recent Posts and Restructured Index (#59)

* Recent Posts and Restructured Index

* Change to explorer

* Index Graph uses -1 Depth

* Default scale for homepage 0.7
This commit is contained in:
Vineeth Voruganti 2024-03-20 13:32:05 -07:00 committed by GitHub
parent c682030cec
commit a8da15392c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 42 additions and 44 deletions

View File

@ -12,42 +12,33 @@ We believe that by re-centering LLM app development around the user we can unloc
Its our mission to realize this future. Its our mission to realize this future.
## Blog ## Structure
[[Solving The Campfire Problem with Honcho]] The different sections of the blog and the different types of content we put out
[[User State is State of the Art]]
[[Memories for All]]
[[Honcho; User Context Management for LLM Apps|Honcho: User Context Management for LLM Apps]]
[[Theory of Mind Is All You Need]]
[[Open Sourcing Tutor-GPT]]
## Research [[blog | Blog]] — Detailed explorations of different ideas.
[[notes | Evergreen Notes]] — Evergreen ideas that will be continuously updated.
[[releases | Release Notes]] — Changelogs and details about new releases from
[Plastic Labs](https://plasticlabs.ai).
[[extrusions | Extrusions]] — Short, densely-linked synthesis of what weve been chewing on over the past month
We also send out Extrusions and Release Notes as email newsletters.
Subscribe to get updates directly to your inbox.
[Subscribe to Extrusions](https://plasticlabs.typeform.com/extrusions)
[Subscribe to Release Notes](https://plasticlabs.typeform.com/honchoupdates)
## Other Works
Below are other projects and research that Plastic Labs is working on
### Research
[Violation of Expectation Reduces Theory-of-Mind Prediction Error in Large Language Models](https://arxiv.org/abs/2310.06983) [Violation of Expectation Reduces Theory-of-Mind Prediction Error in Large Language Models](https://arxiv.org/abs/2310.06983)
## Evergreen Notes ### Projects
[[Humans like personalization]] [Honcho](https://honcho.dev) — A user context management solution for AI-powered applications
[[LLMs excel at theory of mind because they read]] [Bloom](https://bloombot.ai) — A theory-of-mind enabled AI learning assistant
[[Loose theory of mind imputations are superior to verbatim response predictions]] also known by the name of it's open source project
[[Honcho name lore]] [Tutor-GPT](https://github.com/plastic-labs/tutor-gpt)
[[Human-AI chat paradigm hamstrings the space of possibility]]
[[LLM Metacognition is inference about inference]]
[[Machine learning is fixated on task performance]]
## Extrusions
[[Extrusion 02.24]]
[[extrusions/Extrusion 01.24|Extrusion 01.24]]
([Subscribe](https://plasticlabs.typeform.com/extrusions))
## Release Notes
[[Release Notes 03.14.23]]
[[Release Notes 02.23.24]]
[[Release Notes 02.15.24]]
[[Release Notes 02.08.24]]
[[Release Notes 02.01.24]]
([Subscribe](https://plasticlabs.typeform.com/honchoupdates))

View File

@ -1,4 +1,5 @@
import { PageLayout, SharedLayout } from "./quartz/cfg" import { PageLayout, SharedLayout } from "./quartz/cfg"
import { SimpleSlug } from "./quartz/util/path"
import * as Component from "./quartz/components" import * as Component from "./quartz/components"
// components shared across all pages // components shared across all pages
@ -27,24 +28,25 @@ export const defaultContentPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()), Component.MobileOnly(Component.Spacer()),
Component.Search(), Component.Search(),
Component.Darkmode(), Component.Darkmode(),
Component.DesktopOnly(Component.TableOfContents()), Component.DesktopOnly(Component.Explorer()),
], ],
right: [ right: [
Component.Graph(), Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
], ],
} }
// 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: [],
// beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()], // beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
// left: [ left: [
// Component.PageTitle(), Component.PageTitle(),
// Component.MobileOnly(Component.Spacer()), Component.MobileOnly(Component.Spacer()),
// Component.Search(), Component.Search(),
// Component.Darkmode(), Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()), Component.DesktopOnly(Component.Explorer()),
// ], ],
right: [], right: [],
} }

View File

@ -57,8 +57,13 @@ const defaultOptions: GraphOptions = {
} }
export default ((opts?: GraphOptions) => { export default ((opts?: GraphOptions) => {
const Graph: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { const Graph: QuartzComponent = ({ fileData, displayClass, cfg }: QuartzComponentProps) => {
const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph } let optsCopy = { localGraph: { scale: 1.1, depth: 1 } }
if (fileData.slug === 'index') {
optsCopy.localGraph.depth = -1
optsCopy.localGraph.scale = 0.7
}
const localGraph = { ...defaultOptions.localGraph, ...optsCopy.localGraph }
const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph } const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph }
return ( return (
<div class={classNames(displayClass, "graph")}> <div class={classNames(displayClass, "graph")}>