From 35a66e5e3ad2339f3bcdada1550bc5137684c425 Mon Sep 17 00:00:00 2001 From: danemadsen Date: Thu, 13 Feb 2025 14:56:01 +1000 Subject: [PATCH] imports --- README.md | 2 +- example/pubspec.lock | 2 +- lib/src/chat_message.dart | 2 +- lib/src/llama.dart | 2 +- lib/src/llama_exception.dart | 2 +- lib/src/llama_isolated.dart | 2 +- lib/src/llama_native.dart | 2 +- lib/src/params/context_params.dart | 2 +- lib/src/params/model_params.dart | 2 +- lib/src/params/sampling_params.dart | 2 +- pubspec.yaml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6917e8e..6278763 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ To use this package, add `llama` as a [dependency in your pubspec.yaml file](htt ```yaml dependencies: - lcpp: ^0.0.4 + lcpp: ^0.0.5 ``` then you can import llama in your Dart code diff --git a/example/pubspec.lock b/example/pubspec.lock index 51f97ad..9462e33 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -118,7 +118,7 @@ packages: path: ".." relative: true source: path - version: "0.0.1" + version: "0.0.4" leak_tracker: dependency: transitive description: diff --git a/lib/src/chat_message.dart b/lib/src/chat_message.dart index 89b81d0..6831d62 100644 --- a/lib/src/chat_message.dart +++ b/lib/src/chat_message.dart @@ -1,4 +1,4 @@ -part of '../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; typedef _ChatMessageRecord = (String role, String content); diff --git a/lib/src/llama.dart b/lib/src/llama.dart index 4503221..e10400a 100644 --- a/lib/src/llama.dart +++ b/lib/src/llama.dart @@ -1,4 +1,4 @@ -part of '../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// An abstract interface class representing a Llama library. /// diff --git a/lib/src/llama_exception.dart b/lib/src/llama_exception.dart index 19c0cef..2c7ead8 100644 --- a/lib/src/llama_exception.dart +++ b/lib/src/llama_exception.dart @@ -1,4 +1,4 @@ -part of '../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// A custom exception class for handling errors specific to the Llama application. /// diff --git a/lib/src/llama_isolated.dart b/lib/src/llama_isolated.dart index dd10e0c..4c9835f 100644 --- a/lib/src/llama_isolated.dart +++ b/lib/src/llama_isolated.dart @@ -1,4 +1,4 @@ -part of '../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; typedef _IsolateArguments = ({ ModelParams modelParams, diff --git a/lib/src/llama_native.dart b/lib/src/llama_native.dart index c917833..a8f5021 100644 --- a/lib/src/llama_native.dart +++ b/lib/src/llama_native.dart @@ -1,4 +1,4 @@ -part of '../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// A class that implements the Llama interface and provides functionality /// for loading and interacting with a Llama model, context, and sampler. diff --git a/lib/src/params/context_params.dart b/lib/src/params/context_params.dart index e01af20..1693496 100644 --- a/lib/src/params/context_params.dart +++ b/lib/src/params/context_params.dart @@ -1,5 +1,5 @@ // ignore_for_file: constant_identifier_names -part of '../../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// A class representing the parameters for context configuration. class ContextParams { diff --git a/lib/src/params/model_params.dart b/lib/src/params/model_params.dart index 6abbd49..054ea5b 100644 --- a/lib/src/params/model_params.dart +++ b/lib/src/params/model_params.dart @@ -1,4 +1,4 @@ -part of '../../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// A class representing the parameters for a model. /// diff --git a/lib/src/params/sampling_params.dart b/lib/src/params/sampling_params.dart index 81cdf00..0bd0326 100644 --- a/lib/src/params/sampling_params.dart +++ b/lib/src/params/sampling_params.dart @@ -1,4 +1,4 @@ -part of '../../lcpp.dart'; +part of 'package:lcpp/lcpp.dart'; /// Arguments for Top-P sampling. class TopPArguments { diff --git a/pubspec.yaml b/pubspec.yaml index f582649..9e1fb1b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: lcpp description: "lcpp is a dart implementation of llama.cpp used by the mobile artificial intelligence distribution (maid)" -version: 0.0.4 +version: 0.0.5 homepage: "https://github.com/Mobile-Artificial-Intelligence/llama_dart" environment: