How to Test a Nondeterministic LLM Application
When an application calls an LLM, the same input can produce a different response on the next run. A test that compares the response with one expected string…
Read articlePage 2 of 2.
When an application calls an LLM, the same input can produce a different response on the next run. A test that compares the response with one expected string…
Read articleNo. The text you type into a chat box is only one part of what a large language model (LLM) receives. The full request can also contain system…
Read articleFor years everybody agreed that tests make software better, and almost nobody wrote them. In the first ten years or so of my career I probably didn't write…
Read articleWhen an LLM API response includes a field such as systemfingerprint, it is identifying the provider’s backend configuration, not your prompt, account, device, or system message. The value…
Read articleBatch invariance means a request produces the same inference result when the server runs it alone, alongside other requests, at a different batch position, or under another supported…
Read articleIf a configuration contains production, latest, or stable, it probably uses a model alias. An alias is a named pointer that tells a platform which model version currently…
Read articleAn LLM agent is software that uses a large language model to answer questions or carry out tasks, sometimes across multiple conversations. Its context window is the amount…
Read articleWhen you use Ollama to run a local model, the model might print JSON that looks like a function call even though the tool did not run. A…
Read article