diff --git a/CHANGELOG.md b/CHANGELOG.md index 585fcb84d..4cd49b414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,30 +1,36 @@ # Changelog -## 0.0.33 - 2023-07-18 +## v0.0.34 - 2023-07-18 + +### Removed + +- `asFunction` model function variants. Use JavaScript lamba functions instead. + +## v0.0.33 - 2023-07-18 ### Added - OpenAIChatAutoFunctionPrompt to call the OpenAI functions API with multiple functions in 'auto' mode. -## 0.0.32 - 2023-07-15 +## v0.0.32 - 2023-07-15 ### Changed - Changed the prompt format of the generateJson function. -## 0.0.31 - 2023-07-14 +## v0.0.31 - 2023-07-14 ### Changed - Reworked interaction with vectors stores. Removed VectorDB, renamed VectorStore to VectorIndex, and introduced upsertTextChunks and retrieveTextChunks functions. -## 0.0.30 - 2023-07-13 +## v0.0.30 - 2023-07-13 ### Fixed - Bugs related to performance.now not being available. -## 0.0.29 - 2023-07-13 +## v0.0.29 - 2023-07-13 ### Added @@ -35,13 +41,13 @@ - Split Tokenizer API into BasicTokenizer and FullTokenizer. - Introduce countTokens function (replacing Tokenizer.countTokens). -## 0.0.28 - 2023-07-12 +## v0.0.28 - 2023-07-12 ### Added - Events for streamText. -## 0.0.27 - 2023-07-11 +## v0.0.27 - 2023-07-11 ### Added @@ -51,57 +57,57 @@ - End-of-stream bug in Llama.cpp text streaming. -## 0.0.26 - 2023-07-11 +## v0.0.26 - 2023-07-11 ### Added - Streaming support for Cohere text generation models. -## 0.0.25 - 2023-07-10 +## v0.0.25 - 2023-07-10 ### Added - Streaming support for OpenAI text completion models. - OpenAI function streaming support (in low-level API). -## 0.0.24 - 2023-07-09 +## v0.0.24 - 2023-07-09 ### Added - Generalized text streaming (async string iterable, useful for command line streaming). - Streaming support for Llama.cpp text generation. -## 0.0.23 - 2023-07-08 +## v0.0.23 - 2023-07-08 ### Added - Llama.cpp text generation support. -## 0.0.22 - 2023-07-08 +## v0.0.22 - 2023-07-08 ### Changed - Convert all main methods (e.g. `model.generateText(...)`) to a functional API (i.e., `generateText(model, ...)`). -## 0.0.21 - 2023-07-07 +## v0.0.21 - 2023-07-07 ### New - JSON generation model. -## 0.0.20 - 2023-07-02 +## v0.0.20 - 2023-07-02 ### New - Automatic1111 image generation provider. -## 0.0.19 - 2023-06-30 +## v0.0.19 - 2023-06-30 ### New - Cost calculation for OpenAI image generation and transcription models. -## 0.0.18 - 2023-06-28 +## v0.0.18 - 2023-06-28 ### New @@ -112,7 +118,7 @@ - Renamed RunContext to Run. Introduced DefaultRun. - Changed events and observers. -## 0.0.17 - 2023-06-14 +## v0.0.17 - 2023-06-14 ### New @@ -124,7 +130,7 @@ 1. Single optional parameter for functions/method that contains run, functionId, etc. -## 0.0.16 - 2023-06-13 +## v0.0.16 - 2023-06-13 ### Fixed @@ -136,40 +142,40 @@ 1. Improved OpenAI chat streaming API. 1. Changed `asFunction` variants from namespaced functions into stand-alone functions. -## 0.0.15 - 2023-06-12 +## v0.0.15 - 2023-06-12 ### Changed 1. Documentation update. -## 0.0.14 - 2023-06-11 +## v0.0.14 - 2023-06-11 ### Changed 1. Major rework of embedding APIs. -## 0.0.13 - 2023-06-10 +## v0.0.13 - 2023-06-10 ### Changed 1. Major rework of text and image generation APIs. -## 0.0.12 - 2023-06-06 +## v0.0.12 - 2023-06-06 -## 0.0.11 - 2023-06-05 +## v0.0.11 - 2023-06-05 ### Changed 1. Various renames. -## 0.0.10 - 2023-06-04 +## v0.0.10 - 2023-06-04 ### New 1. Pinecone VectorDB support 1. Cohere tokenization support -## 0.0.9 - 2023-06-03 +## v0.0.9 - 2023-06-03 ### New @@ -177,7 +183,7 @@ 1. `generateImage` function 1. Throttling and retries on model level -## 0.0.8 - 2023-06-02 +## v0.0.8 - 2023-06-02 ### New @@ -188,14 +194,14 @@ 1. Updated PDF to tweet example with style transfer -## 0.0.7 - 2023-06-01 +## v0.0.7 - 2023-06-01 ### New 1. Hugging Face text generation support 1. Memory vector DB -## v0.0.6 - 2023-05-31 +## vv0.0.6 - 2023-05-31 ### New @@ -206,7 +212,7 @@ 1. Restructured retry logic 1. `embed` embeds many texts at once -## v0.0.5 - 2023-05-30 +## vv0.0.5 - 2023-05-30 ### New @@ -214,7 +220,7 @@ 1. OpenAI chat streams can be returned as delta async iterables 1. Documentation of integration APIs and models -## v0.0.4 - 2023-05-29 +## vv0.0.4 - 2023-05-29 ### New @@ -224,14 +230,14 @@ 1. Basic examples under `examples/basic` 1. Initial documentation available at [ai-utils.dev](https://ai-utils.dev) -## v0.0.3 - 2023-05-28 +## vv0.0.3 - 2023-05-28 ### New 1. Voice recording and transcription Next.js app example. 1. OpenAI transcription support (Whisper). -## v0.0.2 - 2023-05-27 +## vv0.0.2 - 2023-05-27 ### New @@ -240,7 +246,7 @@ 1. Tokenization-based Recursive Splitter: A new splitter that operates recursively using tokenization. 1. Prompt Management Utility: An enhancement to fit recent chat messages into the context window. -## v0.0.1 - 2023-05-26 +## vv0.0.1 - 2023-05-26 ### New diff --git a/package-lock.json b/package-lock.json index 246cacf53..8f273183c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ai-utils.js", - "version": "0.0.33", + "version": "0.0.34", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ai-utils.js", - "version": "0.0.33", + "version": "0.0.34", "license": "MIT", "dependencies": { "eventsource-parser": "1.0.0", diff --git a/package.json b/package.json index feef81dc8..6a710e2f4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ai-utils.js", "description": "A TypeScript-first library for building AI apps, chatbots, and agents.", - "version": "0.0.33", + "version": "0.0.34", "author": "Lars Grammel", "license": "MIT", "keywords": [