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