# Class: com.pnfsoftware.jeb.util.llm.LlmConversationBuilder

Factory for creating LLM conversations backed by the supported provider APIs.

## Constructor: LlmConversationBuilder

Description: Create a conversation builder using a default network helper.

## Constructor: LlmConversationBuilder
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.Net`

Description: Create a conversation builder.
parameter: net: optional network helper; if null, a default helper is created

## Method: newConversation
- parameter: `apiType`, type: `com.pnfsoftware.jeb.util.llm.LlmApiType`
- parameter: `settings`, type: `com.pnfsoftware.jeb.util.llm.LlmSettings`
- return type: `com.pnfsoftware.jeb.util.llm.ILlmConversation`

Description: Create a conversation for the requested API type.
parameter: apiType: LLM provider API type
parameter: settings: conversation settings
return: new conversation

## Method: newConversation
- parameter: `apiType`, type: `com.pnfsoftware.jeb.util.llm.LlmApiType`
- parameter: `settings`, type: `com.pnfsoftware.jeb.util.llm.LlmSettings`
- parameter: `timeouts`, type: `int[]`
- return type: `com.pnfsoftware.jeb.util.llm.ILlmConversation`

Description: Create a conversation for the requested API type.
parameter: apiType: LLM provider API type
parameter: settings: conversation settings
parameter: timeouts: optional network timeouts \(if null, the [default timeouts](Net) are            used\); if not\-null, it must be a 3\-element array of timeouts in ms \(connect, read,            write\) that will be provided to [Net#buildClient](Net#buildClient)
return: new conversation

