diff --git a/src/components/RichText.tsx b/src/components/RichText.tsx
index 6326706..016b6b3 100644
--- a/src/components/RichText.tsx
+++ b/src/components/RichText.tsx
@@ -12,6 +12,19 @@ const RichText = ({ content }: { content: Rich }) => {
return (
<>
{content.map((run, i) => {
+ if (run.href) {
+ return (
+
+ {run.t}
+
+ );
+ }
if (run.em === 'strong') {
return (
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index 97bb611..2bfa033 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -258,7 +258,19 @@ export const en: typeof pl = {
{ t: 'A knowledge base shouldn\'t end up as a dead vector index. On top of semantic search, we build a ' },
{ t: 'readable, compiled wiki maintained by a language model', em: 'strong' },
{
- t: ' — plain text files with cross-links between concepts, which the agent reads and updates the way a person maintains code. We build this on an open standard (Google OKF), not a closed format of our own — so the knowledge stays readable and portable.',
+ t: ' — plain text files with cross-links between concepts, which the agent reads and updates the way a person maintains code. An approach inspired by ',
+ },
+ {
+ t: 'a concept described by AI researcher Andrej Karpathy',
+ href: 'https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f',
+ },
+ { t: '. We build this on an open standard (' },
+ {
+ t: 'Google OKF',
+ href: 'https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf',
+ },
+ {
+ t: '), not a closed format of our own — so the knowledge stays readable and portable.',
},
],
},
diff --git a/src/i18n/pl.ts b/src/i18n/pl.ts
index 32e9d01..1a69e9f 100644
--- a/src/i18n/pl.ts
+++ b/src/i18n/pl.ts
@@ -254,7 +254,19 @@ export const pl = {
{ t: 'Baza wiedzy nie kończy jako martwy indeks. Nad wyszukiwaniem semantycznym powstaje ' },
{ t: 'czytelna, kompilowana wiki utrzymywana przez model językowy', em: 'strong' },
{
- t: ' — pliki tekstowe z linkami między pojęciami, które agent czyta i aktualizuje tak jak człowiek utrzymuje kod. Budujemy to na otwartym standardzie (Google OKF), nie na własnym, zamkniętym formacie — żeby wiedza, którą zbudujemy, zawsze zostawała czytelna i przenośna.',
+ t: ' — pliki tekstowe z linkami między pojęciami, które agent czyta i aktualizuje tak jak człowiek utrzymuje kod. Podejście zainspirowane ',
+ },
+ {
+ t: "koncepcją opisaną przez badacza AI Andreja Karpathy'ego",
+ href: 'https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f',
+ },
+ { t: '. Budujemy to na otwartym standardzie (' },
+ {
+ t: 'Google OKF',
+ href: 'https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf',
+ },
+ {
+ t: '), nie na własnym, zamkniętym formacie — żeby wiedza, którą zbudujemy, zawsze zostawała czytelna i przenośna.',
},
],
},
diff --git a/src/i18n/types.ts b/src/i18n/types.ts
index d62e81e..a4ce4ba 100644
--- a/src/i18n/types.ts
+++ b/src/i18n/types.ts
@@ -8,6 +8,8 @@ export type Run = {
t: string;
/** 'quote' is an that brightens to full foreground — used for quoted speech. */
em?: 'strong' | 'em' | 'quote';
+ /** Turns the run into an external link (new tab). Absolute URL only. */
+ href?: string;
};
/** Plain text, or a run list when the sentence needs inline emphasis. */