Skip to content

Commit

Permalink
Merge pull request #46 from guchengxi1994/refactor/chat
Browse files Browse the repository at this point in the history
Refactor/chat
  • Loading branch information
guchengxi1994 authored May 29, 2024
2 parents 1a1dc7b + aa7536d commit 2826e3c
Show file tree
Hide file tree
Showing 15 changed files with 694 additions and 259 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# all_in_one

> this project is just for fun, a lot of features are not stable and not usable.
> only tested on `kimi` and `langchain`
### how to run

Expand Down
1 change: 1 addition & 0 deletions langchain_lib/test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test_local.dart
9 changes: 9 additions & 0 deletions lib/isar/llm_template.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@ class LlmTemplate {
int createAt = DateTime.now().millisecondsSinceEpoch;
late String name;
late String template;
late String templateContent = "";
late String chains = "";

@override
bool operator ==(Object other) {
return other is LlmTemplate && other.id == id && other.template == template;
}

@override
int get hashCode => template.hashCode;
}
Loading

0 comments on commit 2826e3c

Please sign in to comment.