Skip to content

Commit

Permalink
v0.0.34
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Jul 18, 2023
1 parent a5b5f0e commit e2b661e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 36 deletions.
72 changes: 39 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -136,48 +142,48 @@
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

1. OpenAI DALL-E image generation support
1. `generateImage` function
1. Throttling and retries on model level

## 0.0.8 - 2023-06-02
## v0.0.8 - 2023-06-02

### New

Expand All @@ -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

Expand All @@ -206,15 +212,15 @@
1. Restructured retry logic
1. `embed` embeds many texts at once

## v0.0.5 - 2023-05-30
## vv0.0.5 - 2023-05-30

### New

1. Cohere text generation support
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

Expand All @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

1 comment on commit e2b661e

@vercel
Copy link

@vercel vercel bot commented on e2b661e Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ai-utils-js – ./

ai-utils.vercel.app
ai-utils.dev
ai-utils-js-git-main-lgrammel.vercel.app
ai-utils-js-lgrammel.vercel.app

Please sign in to comment.