llama_sdk.web library

Classes

AssistantLlamaMessage
A class representing a chat message from an assistant.
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.
LlamaMessage
An abstract class representing a chat message.
SystemLlamaMessage
A class representing a system-generated chat message.
UserLlamaMessage
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

LlamaMessages on List<LlamaMessage>
An extension on the List<LlamaMessage> class to provide additional functionality.

Exceptions / Errors

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