Skip to main content

Function: createHttpDriver()

Function: createHttpDriver()

function createHttpDriver(options: HttpDriverOptions): EvalDriver;

Drives an agent by POSTing to a running app's chat endpoint and parsing the SSE response. Keeps the thread id across sends so multi-turn evals share a conversation. Agent/stream errors surface as succeeded: false rather than throwing, so t.succeeded() can assert on them.

Parameters

ParameterType
optionsHttpDriverOptions

Returns

EvalDriver

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs