Skip to content

Commit

Permalink
feat: new logo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Jul 29, 2023
1 parent 980ed9a commit cf7d31a
Show file tree
Hide file tree
Showing 23 changed files with 247 additions and 257 deletions.
Binary file added .github/hopfield-w-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/hopfield-white-w-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions .github/logo-dark.svg

This file was deleted.

6 changes: 0 additions & 6 deletions .github/logo-light.svg

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p align="center">
<a href="https://hopfield.ai">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/propology/hopfield/main/.github/logo-dark.svg">
<img alt="Hopfield logo" src="https://raw.githubusercontent.com/propology/hopfield/main/.github/logo-light.svg" width="auto" height="120">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/propology/hopfield/main/.github/hopfield-w-text.png">
<img alt="Hopfield logo" src="https://raw.githubusercontent.com/propology/hopfield/main/.github/hopfield-white-w-text.png" width="auto" height="120">
</picture>
</a>
</p>
Expand Down Expand Up @@ -32,7 +32,7 @@

---

Minimal typescript library for type-safe, testable interactions with LLMs.
Typescript-first LLM framework with static type inference, testability, and composability..

<!-- ```ts
import type { AbiParametersToPrimitiveTypes, ExtractAbiFunctions, ExtractAbiFunctionNames } from 'hopfield'
Expand Down
26 changes: 17 additions & 9 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ export default withTwoslash(
defineConfig({
cleanUrls: true,
description:
'Minimal typescript library for type-safe, testable interactions with LLMs',
'Typescript-first LLM framework with static type inference, testability, and composability.',
head: [
['meta', { name: 'theme-color', content: '#F09922' }],
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
[
'link',
{
rel: 'alternate icon',
rel: 'icon',
href: '/favicon.png',
type: 'image/png',
sizes: '48x48',
sizes: '32x32',
},
],
[
Expand All @@ -30,10 +29,19 @@ export default withTwoslash(
},
],
['meta', { property: 'og:url', content: 'https://hopfield.ai' }],
['meta', { property: 'og:image', content: 'https://hopfield.ai/og.png' }],
[
'meta',
{ name: 'twitter:image', content: 'https://hopfield.ai/og.png' },
{
property: 'og:image',
content: 'https://hopfield.ai/hopfield-og.png',
},
],
[
'meta',
{
name: 'twitter:image',
content: 'https://hopfield.ai/hopfield-og.png',
},
],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
],
Expand Down Expand Up @@ -63,8 +71,8 @@ export default withTwoslash(
copyright: 'Copyright © 2023-PRESENT Chase Adams',
},
logo: {
light: '/logo-light.svg',
dark: '/logo-dark.svg',
light: '/hopfield-white-w-text.png',
dark: '/hopfield-w-text.png',
alt: 'Hopfield logo',
},
nav: [
Expand Down Expand Up @@ -157,7 +165,7 @@ export default withTwoslash(
],
},
title:
'Hopfield: Minimal typescript library for type-safe, testable interactions with LLMs',
'Hopfield: Typescript-first LLM framework with static type inference, testability, and composability.',
twoslash: {
addTryButton: true,
defaultCompilerOptions: {
Expand Down
10 changes: 5 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
description: "Minimal typescript library for type-safe, testable interactions with LLMs"
description: "Typescript-first LLM framework with static type inference, testability, and composability."
head:
- - meta
- name: keywords
content: ai, openai, zod, gpt, llm, ai-tools
title: "Hopfield: Minimal typescript library for type-safe, testable interactions with LLMs"
title: "Hopfield: a Typescript-first LLM framework with static type inference, testability, and composability."
titleTemplate: false
---

<p align="center" style="min-height:60px;width:100%;">
<img img-dark alt="Hopfield" src="https://raw.githubusercontent.com/propology/hopfield/main/.github/logo-dark.svg" height="60" style="width:auto;">
<img img-light alt="Hopfield" src="https://raw.githubusercontent.com/propology/hopfield/main/.github/logo-light.svg" height="60" style="width:auto;">
<img img-dark alt="Hopfield" src="/hopfield-w-text.png" height="60" style="width:auto;">
<img img-light alt="Hopfield" src="/hopfield-white-w-text.png" height="60" style="width:auto;">
</p>

<div style="margin-top:1rem;display:flex;gap:0.5rem;min-height:48px;max-width:350px;flex-wrap:wrap;margin-right:auto;margin-left:auto;justify-content:center;margin-bottom:3rem;">
Expand Down Expand Up @@ -38,7 +38,7 @@ titleTemplate: false
</a>
</div>

Hopfield is a minimal typescript library for type-safe, testable interactions with large language models (LLMs).
Hopfield is a Typescript-first large language model framework with static type inference, testability, and composability.
Easily validate LLM responses and inputs with strong types. Flexible abstractions
with best practices baked in.

Expand Down
Binary file modified docs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions docs/public/favicon.svg

This file was deleted.

Binary file added docs/public/hopfield-og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/hopfield-w-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/hopfield-white-w-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/hopfield-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/hopfield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cf7d31a

Please sign in to comment.