Class LlmRouteDefinitionExtensions
Inline LLM step for . Pure syntactic sugar over
.Process(Func<IExchange, CancellationToken, Task>) — every option here
translates into a single in-memory call to .
Use this when the LLM step is an inline transformation in a route, instead of
going through a To("llm://...") endpoint. The endpoint form is preferred
for routes that mix transports (e.g. kafka → llm → sql); the inline form
is preferred for one-off prompts that don't need a registered factory.
public static class LlmRouteDefinitionExtensions
Inheritance
Methods
Llm(IRouteDefinition, string, Action<LlmCallBuilder>?)
Inline LLM step. Reads the user message from exchange.In.Body, runs the
public static IRouteDefinition Llm(this IRouteDefinition route, string connectionFactoryName, Action<LlmCallBuilder>? configure = null)