All Blogs

How do Top-k and Top-p Sampling work?

How do Top-k and Top-p Sampling work?

Top-k Sampling keeps a fixed number of the most likely tokens, and Top-p Sampling keeps the top tokens whose total probability reaches p. The LLM picks from them.

Jev and System One Models Explained

Jev and System One Models Explained

Jev is a System One Model, a new kind of AI model that does not write text. It only makes fast decisions, with a confidence score, that our software can use directly.

Design a Real-Time Voice AI Agent

Design a Real-Time Voice AI Agent

A Real-Time Voice AI Agent listens to us, understands, thinks, takes actions, and talks back in a natural voice within a fraction of a second. Let's design one.

How does Temperature control LLM output?

How does Temperature control LLM output?

Temperature is a single number that controls how an LLM picks the next token. Low Temperature gives safe, predictable answers, and high gives creative ones.

What is Recursive Self-Improvement (RSI)?

What is Recursive Self-Improvement (RSI)?

Recursive Self-Improvement (RSI) is when an AI system improves its own abilities, and then the improved version improves itself further, again and again.

What is N-gram Speculation in LLMs and How Does It Speed Up Generation?

What is N-gram Speculation in LLMs and How Does It Speed Up Generation?

N-gram Speculation makes an LLM write faster by guessing the next few tokens from matching text it has already seen, and then verifying them in one run.

What is Prefill-Decode Disaggregation in LLM Inference?

What is Prefill-Decode Disaggregation in LLM Inference?

Prefill-Decode Disaggregation runs an LLM so that reading the prompt (prefill) and writing the answer (decode) happen on separate machines, each tuned for its job.

What is KV Cache Compression?

What is KV Cache Compression?

KV Cache Compression is a set of techniques that shrink the memory an LLM uses to remember the conversation, using quantization, token eviction, and more.

How to Chunk Documents for RAG? Chunking Strategies Explained

How to Chunk Documents for RAG? Chunking Strategies Explained

Chunking for RAG means cutting a big document into smaller pieces so that the AI can find the right piece at the right time. We will learn the best strategies.