New to Telerik UI for WinFormsStart a free 30-day trial

Provides summary and question-answering functionality using a Llama server.

Definition

Constructors

Initializes a new instance of the LlamaSummaryProvider class with the specified endpoint and model.

C#
public LlamaSummaryProvider(string endpoint, string model)
Parameters:endpointstring

The endpoint URL used to connect to the Llama service.

modelstring

The name of the model to be used for generating summaries.

Remarks:

This constructor initializes the provider and sets up the necessary client for communication with the Llama service. Ensure that the endpoint is a valid URL and that the model corresponds to a supported model.

Methods

Initializes and assigns a new instance of the chat client.

C#
protected override void CreateChatClient()

Overrides: BaseSummaryProvider.CreateChatClient()

Remarks:

This method creates an instance of using the specified endpoint and model. The created client is assigned to the property.