tawasuyu

tawasuyu/pluma

Multi-canvas authoring (bundle of bodies) + reactive notebook, in Rust, on Llimphi.

Rust 193Markdown 141TOML 663959 Sutichaykuna

⎇ 30467600bcd9effa15e8338fb32d357c1edab660 00_unanchay/pluma/pluma-notebook-kernel-llm/LEEME.md Markdown · 18 siq'ikuna · 675 B Ñawpa willay ch'uya

feat: pluma standalone — autoría multilienzo (haz de cuerpos) + notebook reactivo (front-door, git-dep al monorepo) 30467600b · Sergio ·

1# pluma-notebook-kernel-llm
2
3> Kernel LLM para el notebook de [pluma](../README.md).
4
5Celda LLM: el `source` es un prompt, el `output` es la respuesta del modelo. Usa la fachada [`pluma-llm`](../pluma-llm/README.md) — el backend se elige por config global del notebook (Anthropic, Gemini, Cohere, OpenAI-compatible, Mock). Cacheo BLAKE3 por (prompt + model + params) para que rerun-sin-cambios sea gratis.
6
7## API
8
9```rust
10use pluma_notebook_kernel_llm::LlmKernel;
11
12let k = LlmKernel::con_config(LlmConfig::from_env()?);
13let outputs = k.correr(&celda).await?;
14```
15
16## Deps
17
18- [`pluma-notebook-core`](../pluma-notebook-core/README.md), [`pluma-llm`](../pluma-llm/README.md)

LEEME.md

pluma-notebook-kernel-llm

Kernel LLM para el notebook de pluma.

Celda LLM: el source es un prompt, el output es la respuesta del modelo. Usa la fachada pluma-llm — el backend se elige por config global del notebook (Anthropic, Gemini, Cohere, OpenAI-compatible, Mock). Cacheo BLAKE3 por (prompt + model + params) para que rerun-sin-cambios sea gratis.

API

use pluma_notebook_kernel_llm::LlmKernel;

let k = LlmKernel::con_config(LlmConfig::from_env()?);
let outputs = k.correr(&celda).await?;

Deps