Skip to content

Commit

Permalink
v0.125.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Jan 14, 2024
1 parent 10024fc commit 7766fa7
Show file tree
Hide file tree
Showing 23 changed files with 68 additions and 41 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## v0.125.0 - 2024-01-14

### Added

- Perplexity AI chat completion support. Example:

```ts
import { openaicompatible, streamText } from "modelfusion";

const textStream = await streamText({
model: openaicompatible
.ChatTextGenerator({
api: openaicompatible.PerplexityApi(),
provider: "openaicompatible-perplexity",
model: "pplx-70b-online", // online model with access to web search
maxGenerationTokens: 500,
})
.withTextPrompt(),

prompt: "What is RAG in AI?",
});
```

## v0.124.0 - 2024-01-13

### Added
Expand Down Expand Up @@ -2022,3 +2045,7 @@ Since this change already affected all JSON generation calls and tools, I includ
1. Recursive Character Splitter: A feature to split text into characters recursively for more detailed text analysis.
1. Recursive Text Mapping: This enables recursive mapping of text, beneficial for tasks like summarization or extraction.
1. Split-Map-Filter-Reduce for Text Processing: A process chain developed for sophisticated text handling, allowing operations to split, map, filter, and reduce text data.
```

```
2 changes: 1 addition & 1 deletion examples/babyagi-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"commander": "10.0.1",
"dotenv": "16.3.1",
"jsdom": "^22.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"serpapi": "^2.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@pinecone-database/pinecone": "0.1.6",
"dotenv": "16.3.1",
"secure-json-parse": "2.7.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"nanoid": "3.3.6",
"better-sqlite3": "9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/chatbot-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@emotion/styled": "11.10.8",
"@mui/icons-material": "5.11.16",
"@mui/material": "5.12.2",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"next": "13.5.1",
"react": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"wrangler": "^3.22.1"
},
"dependencies": {
"modelfusion": "0.124.0"
"modelfusion": "0.125.0"
}
}
2 changes: 1 addition & 1 deletion examples/image-generator-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"next": "13.5.1",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/middle-school-math-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@modelfusion/mathjs-tool": "0.1.1",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"dotenv": "16.3.1",
"zod": "3.22.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pdf-chat-terminal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"private": true,
"dependencies": {
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"commander": "10.0.1",
"dotenv": "16.3.1",
"pdfjs-dist": "3.6.172"
Expand Down
2 changes: 1 addition & 1 deletion examples/pdf-to-tweet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"private": true,
"dependencies": {
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"commander": "10.0.1",
"dotenv": "16.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/speech-streaming-vite-react-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"clsx": "^2.0.0",
"dotenv": "16.3.1",
"fastify": "^4.23.2",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/voice-recording-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@emotion/styled": "11.10.8",
"@mui/icons-material": "5.11.16",
"@mui/material": "5.12.2",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"formidable": "2.1.1",
"next": "13.5.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/wikipedia-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dotenv": "16.3.1",
"html-to-text": "9.0.5",
"jsdom": "^22.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"modelfusion-experimental": "0.5.0",
"zod": "3.22.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@modelfusion-pinecone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0"
"modelfusion": "0.125.0"
},
"peerDependencies": {
"modelfusion": ">=0.72.0 <1.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@modelfusion-sqlite-vss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"sqlite-vss": "^0.1.2",
"better-sqlite3": "^9.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@modelfusion-vercel-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"ai": ">= 2.2.27",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0"
"modelfusion": "0.125.0"
},
"peerDependencies": {
"modelfusion": ">=0.89.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/modelfusion-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"fastify": "^4.0.0",
"modelfusion": "0.124.0"
"modelfusion": "0.125.0"
}
}
2 changes: 1 addition & 1 deletion packages/modelfusion/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "modelfusion",
"description": "The TypeScript library for building AI applications.",
"version": "0.124.0",
"version": "0.125.0",
"author": "Lars Grammel",
"license": "MIT",
"keywords": [
Expand Down
40 changes: 20 additions & 20 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion test-environments/commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "node src/index.js"
},
"dependencies": {
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"dotenv": "16.3.1"
}
}
2 changes: 1 addition & 1 deletion tools/google-custom-search-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"zod": "3.22.4"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tools/mathjs-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"zod": "3.22.4"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tools/mediawiki-search-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "9.1.0",
"modelfusion": "0.124.0",
"modelfusion": "0.125.0",
"zod": "3.22.4"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 7766fa7

Please sign in to comment.