Skip to content

Commit

Permalink
Merge pull request #10 from smspillaz/language-model-service
Browse files Browse the repository at this point in the history
ggml: Add LanguageModelService (dbus service)
  • Loading branch information
smspillaz authored Aug 4, 2023
2 parents 6927861 + 9bf8c06 commit 84ffc80
Show file tree
Hide file tree
Showing 10 changed files with 1,477 additions and 6 deletions.
3 changes: 3 additions & 0 deletions examples/llm-writer-app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ const LLMWriterAppMainWindow = GObject.registerClass({
}
else if (this._textBufferState === STATE_WAITING) {
resetState();
} else if (this._textBufferState == STATE_TEXT_EDITOR) {
this._cursor = null;
System.gc();
}
};
const predictFunc = (cursor, n_tokens, prompt, textBuffer) => {
Expand Down
3 changes: 2 additions & 1 deletion examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


subdir('llm-writer-app')
subdir('llm-writer-app')
subdir('service-client')
Loading

0 comments on commit 84ffc80

Please sign in to comment.