Method WithLoggerFactory
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
WithLoggerFactory(ILoggerFactory)
Sets the logger factory for the client, its license notices, the default judge and the OpenAI and Anthropic providers this builder creates. Call it before the methods that add those providers, since they create them at once. Without a logger factory nothing is logged, license notices included.
public IntentClientBuilder WithLoggerFactory(ILoggerFactory loggerFactory)
Parameters
loggerFactoryILoggerFactory