feat(platforma): link do specyfikacji Google OKF + przypisanie idei
Run w Rich text dostaje opcjonalne href — RichText renderuje wtedy <a target="_blank" rel="noopener noreferrer">, dalej bez dangerouslySetInnerHTML, więc słownik nie może wstrzyknąć markupu. W sekcji "Pod maską": fraza "Google OKF" linkuje do GoogleCloudPlatform/knowledge-catalog/okf, a po zdaniu o kompilowanej wiki dochodzi zdanie przypisujące ideę Andrejowi Karpathy'emu (link do jego gista llm-wiki.md). To wyłącznie przypis do publicznie opisanej koncepcji — bez afiliacji ani rekomendacji. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
aedc0dd2b7
commit
348921df1a
|
|
@ -12,6 +12,19 @@ const RichText = ({ content }: { content: Rich }) => {
|
|||
return (
|
||||
<>
|
||||
{content.map((run, i) => {
|
||||
if (run.href) {
|
||||
return (
|
||||
<a
|
||||
key={i}
|
||||
href={run.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-primary underline underline-offset-2 hover:no-underline"
|
||||
>
|
||||
{run.t}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
if (run.em === 'strong') {
|
||||
return (
|
||||
<strong key={i} className="text-foreground font-semibold">
|
||||
|
|
|
|||
|
|
@ -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.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ export type Run = {
|
|||
t: string;
|
||||
/** 'quote' is an <em> 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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue