LlamaSummaryProvider
Provides summary and question-answering functionality using a Llama server.
Definition
Namespace:Telerik.WinControls.UI.AIProviders
Assembly:Telerik.WinControls.PdfViewer.dll
Syntax:
[CLSCompliant(false)]
public class LlamaSummaryProvider : BaseSummaryProvider, ISummaryProvider
Inheritance: objectBaseSummaryProviderLlamaSummaryProvider
Implements:
Inherited Members
Constructors
Initializes a new instance of the LlamaSummaryProvider class with the specified endpoint and model.
public LlamaSummaryProvider(string endpoint, string model)
The endpoint URL used to connect to the Llama service.
modelstringThe name of the model to be used for generating summaries.
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.
protected override void CreateChatClient()
Overrides:
This method creates an instance of using the specified endpoint and model. The created client is assigned to the property.