lcpp.web library

Classes

AssistantChatMessage
A class representing a chat message from an assistant.
ChatMessage
An abstract class representing a chat message.
Llama
A class that isolates the Llama implementation to run in a separate isolate.
LlamaController
A class to manage the parameters for the llama model.
SystemChatMessage
A class representing a system-generated chat message.
UserChatMessage
A class representing a chat message from a user.

Enums

AttentionType
Enum representing different types of attention mechanisms.
GgmlType
Enum representing different GGML (General Graphical Modeling Language) types.
PoolingType
Enum representing different types of pooling operations.
RopeScalingType
Enum representing different types of rope scaling.

Extensions

ChatMessages on List<ChatMessage>
An extension on the List<ChatMessage> class to provide additional functionality.

Exceptions / Errors

LlamaException
A custom exception class for handling errors specific to the Llama application.