Skip to content

Commit

Permalink
Update HISTORY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored Apr 18, 2024
1 parent 6948101 commit 76329d6
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
## 0.6.0
* [update types and model aliases](https://github.com/extremeheat/LXL/commit/069a0a2d7969328ffe2062234a54f58331905ddc) (thanks @extremeheat)
### Breaking

* CompletionService and GoogleAIStudioCompletionService
* `.requestCompletion` now returns an array of completions

### Features
* `.requestCompletion`'s options objects now also take in the following options, which will be passed to the model's generation options:
```coffee
maxTokens: number
temperature: number
topP: number
topK: number
```
* The constructors for CompletionService and GoogleAIStudioCompletionService have also been updated to take an additional objects object. These the object can contain a `generationOptions` dictionary that will be applied by default to all requestCompletion calls. You can override these options by passing them in individual requestCompletion calls.
* Export a `SafetyError` object that can be used in instanceof checks to see if a model response failed due content filtering rules.

#### Flow
Added Flow, a class for building dialogues, see [docs/flow.md](https://github.com/extremeheat/LXL/blob/main/docs/flow.md).

### Changelog
* [Breaking changes to allow custom generation options and multi-completions (#28)](https://github.com/extremeheat/LXL/commit/2d836f2ad6e8cd177fc46b18f945725d9083ae50) (thanks @extremeheat)
* [Support Gemini 1.5 Pro with Google AI Studio API (#27)](https://github.com/extremeheat/LXL/commit/73cdf1d0f079e8f2440765bef9d7484f0c76b5ba) (thanks @extremeheat)
* [Bump @google/generative-ai from 0.5.0 to 0.6.0 (#26)](https://github.com/extremeheat/LXL/commit/f4b01f05ee0632181bf1eafc93b1ce9147866053) (thanks @dependabot[bot])
* [Bump @google/generative-ai from 0.2.1 to 0.5.0 (#25)](https://github.com/extremeheat/LXL/commit/606d50bb1eed5f0fb1d4a037d0b4536d8c746c7d) (thanks @dependabot[bot])
* [Add Flow for advanced prompt flows with templating (#23)](https://github.com/extremeheat/LXL/commit/03cf5261395fe619a325e008ad29ab406529eda8) (thanks @extremeheat)
* [Add `stripDiff`, support truncation and binary files in collectFolderFiles and markdown gen, handle corrupt caches (#20)](https://github.com/extremeheat/LXL/commit/fe7a4a5871787fdbfd829d548852e588f5ec8ab9) (thanks @extremeheat)

Expand Down

0 comments on commit 76329d6

Please sign in to comment.