feat(minor): add more flags to the chat command#147
Merged
Conversation
* feat: evaluate multiple sequences in parallel with automatic batching * feat: improve automatic chat wrapper resolution * feat: smart context shifting * feat: improve TS types * refactor: improve API * build: support beta releases * build: improve dev configurations BREAKING CHANGE: completely new API (docs will be updated before a stable version is released)
* feat: function calling support * feat: stateless `LlamaChat` * feat: improve chat wrapper * feat: `LlamaText` util * test: add basic model-dependent tests * fix: threads parameter * fix: disable Metal for `x64` arch by default
# Conflicts: # llama/addon.cpp # src/llamaEvaluator/LlamaContext.ts # src/llamaEvaluator/LlamaModel.ts # src/utils/getBin.ts
* feat: get embedding for text * feat(minor): improve `resolveChatWrapperBasedOnModel` logic * style: improve GitHub release notes formatting
# Conflicts: # llama/addon.cpp # src/cli/commands/ChatCommand.ts # src/llamaEvaluator/LlamaContext.ts # src/utils/getBin.ts
Member
Author
|
Merged to |
7 tasks
|
🎉 This PR is included in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of change
--systemPromptFileflag to thechatcommand--promptFileflag to thechatcommand--batchSizeflag to thechatcommandBased on #145 by @stewartoallen, adapted for the
betabranch.Pull-Request Checklist
masterbranchnpm run formatto apply eslint formattingnpm run testpasses with this changeFixes #0000