Compare commits

..

3 Commits

Author SHA1 Message Date
github-actions[bot] be6fead71a Release 0.10.1 (#1858)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: himself65 <14026360+himself65@users.noreply.github.com>
2025-04-16 19:15:34 -07:00
Peter Goldstein 96dd79853a Add o3 and o4-mini models (#1857) 2025-04-16 13:28:39 -07:00
Fuma Nama f49366c9af make docs great again (#1855)
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-04-16 11:19:25 -07:00
55 changed files with 811 additions and 547 deletions
+8
View File
@@ -1,5 +1,13 @@
# @llamaindex/doc
## 0.2.12
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
- llamaindex@0.10.1
## 0.2.11
### Patch Changes
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/doc",
"version": "0.2.11",
"version": "0.2.12",
"private": true,
"scripts": {
"postinstall": "fumadocs-mdx",
@@ -13,7 +13,7 @@
"validate-links": "tsx scripts/validate-links.mts"
},
"dependencies": {
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"@icons-pack/react-simple-icons": "^10.1.0",
"@llama-flow/docs": "0.0.3",
"@llamaindex/chat-ui": "0.2.0",
@@ -90,9 +90,9 @@
"remark-stringify": "^11.0.0",
"tailwindcss": "^4.0.9",
"tsx": "^4.19.3",
"typedoc": "0.27.4",
"typedoc-plugin-markdown": "^4.3.1",
"typedoc-plugin-merge-modules": "^6.1.0",
"typedoc": "0.28.2",
"typedoc-plugin-markdown": "^4.6.2",
"typedoc-plugin-merge-modules": "^7.0.0",
"typescript": "^5.7.3"
}
}
@@ -1,5 +1,11 @@
# @llamaindex/cloudflare-worker-agent-test
## 0.0.155
### Patch Changes
- llamaindex@0.10.1
## 0.0.154
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/cloudflare-worker-agent-test",
"version": "0.0.154",
"version": "0.0.155",
"type": "module",
"private": true,
"scripts": {
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/next-agent-test
## 0.1.155
### Patch Changes
- llamaindex@0.10.1
## 0.1.154
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-agent-test",
"version": "0.1.154",
"version": "0.1.155",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,11 @@
# test-edge-runtime
## 0.1.154
### Patch Changes
- llamaindex@0.10.1
## 0.1.153
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/nextjs-edge-runtime-test",
"version": "0.1.153",
"version": "0.1.154",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,12 @@
# @llamaindex/next-node-runtime
## 0.1.21
### Patch Changes
- llamaindex@0.10.1
- @llamaindex/huggingface@0.1.5
## 0.1.20
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-node-runtime-test",
"version": "0.1.20",
"version": "0.1.21",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,11 @@
# vite-import-llamaindex
## 0.0.21
### Patch Changes
- llamaindex@0.10.1
## 0.0.20
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "vite-import-llamaindex",
"private": true,
"version": "0.0.20",
"version": "0.0.21",
"type": "module",
"scripts": {
"build": "vite build",
@@ -1,5 +1,11 @@
# @llamaindex/waku-query-engine-test
## 0.0.155
### Patch Changes
- llamaindex@0.10.1
## 0.0.154
### Patch Changes
+5 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/waku-query-engine-test",
"version": "0.0.154",
"version": "0.0.155",
"type": "module",
"private": true,
"scripts": {
@@ -14,13 +14,14 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-server-dom-webpack": "19.0.0",
"waku": "0.21.20"
"waku": "0.22.2"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.4",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"autoprefixer": "^10.4.20",
"tailwindcss": "^4.0.9",
"rollup": "4.38.0",
"tailwindcss": "^4.1.4",
"typescript": "5.7.3"
}
}
+10 -19
View File
@@ -21,19 +21,21 @@ test.beforeEach(() => {
callback.mock.resetCalls();
});
await test("clip embedding", async (t) => {
await test.skip("clip embedding", async (t) => {
const major = parseInt(process.versions.node.split(".")[0] ?? "0", 10);
if (major < 20) {
t.skip("Skip CLIP tests on Node.js < 20");
return;
}
const imageUrl = new URL(
"../../fixtures/img/llamaindex-white.png",
import.meta.url,
);
await t.test("should trigger load transformer event", async () => {
const nodes = [
new ImageNode({
image: new URL(
"../../fixtures/img/llamaindex-white.png",
import.meta.url,
),
image: imageUrl,
}),
];
assert.equal(callback.mock.callCount(), 0);
@@ -46,21 +48,14 @@ await test("clip embedding", async (t) => {
await t.test("init & get image embedding", async () => {
const clipEmbedding = new ClipEmbedding();
const imgUrl = new URL(
"../../fixtures/img/llamaindex-white.png",
import.meta.url,
);
const vec = await clipEmbedding.getImageEmbedding(imgUrl);
const vec = await clipEmbedding.getImageEmbedding(imageUrl);
assert.ok(vec);
});
await t.test("load image document", async () => {
const nodes = [
new ImageNode({
image: new URL(
"../../fixtures/img/llamaindex-white.png",
import.meta.url,
),
image: imageUrl,
}),
];
const clipEmbedding = new ClipEmbedding();
@@ -80,12 +75,8 @@ await test("clip embedding", async (t) => {
}),
);
const clipEmbedding = new ClipEmbedding();
const imgUrl = new URL(
"../../fixtures/img/llamaindex-white.png",
import.meta.url,
);
assert.equal(getter.mock.callCount(), 0);
const vec = await clipEmbedding.getImageEmbedding(imgUrl);
const vec = await clipEmbedding.getImageEmbedding(imageUrl);
assert.ok(vec);
assert.ok(getter.mock.callCount() > 0);
});
+1 -1
View File
@@ -10,7 +10,7 @@
},
"devDependencies": {
"@faker-js/faker": "^9.2.0",
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"@llamaindex/anthropic": "workspace:*",
"@llamaindex/clip": "workspace:*",
"@llamaindex/core": "workspace:*",
+18
View File
@@ -1,5 +1,23 @@
# examples
## 0.3.8
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
- llamaindex@0.10.1
- @llamaindex/clip@0.0.51
- @llamaindex/deepinfra@0.0.51
- @llamaindex/deepseek@0.0.11
- @llamaindex/fireworks@0.0.11
- @llamaindex/groq@0.0.66
- @llamaindex/huggingface@0.1.5
- @llamaindex/jinaai@0.0.11
- @llamaindex/perplexity@0.0.8
- @llamaindex/together@0.0.11
- @llamaindex/vllm@0.0.37
## 0.3.7
### Patch Changes
+13 -13
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/examples",
"version": "0.3.7",
"version": "0.3.8",
"private": true,
"scripts": {
"lint": "eslint .",
@@ -15,16 +15,16 @@
"@llamaindex/astra": "^0.0.16",
"@llamaindex/azure": "^0.1.11",
"@llamaindex/chroma": "^0.0.16",
"@llamaindex/clip": "^0.0.50",
"@llamaindex/clip": "^0.0.51",
"@llamaindex/cloud": "^4.0.3",
"@llamaindex/cohere": "^0.0.16",
"@llamaindex/core": "^0.6.2",
"@llamaindex/deepinfra": "^0.0.50",
"@llamaindex/deepinfra": "^0.0.51",
"@llamaindex/env": "^0.1.29",
"@llamaindex/firestore": "^1.0.9",
"@llamaindex/google": "^0.2.3",
"@llamaindex/groq": "^0.0.65",
"@llamaindex/huggingface": "^0.1.4",
"@llamaindex/groq": "^0.0.66",
"@llamaindex/huggingface": "^0.1.5",
"@llamaindex/milvus": "^0.1.11",
"@llamaindex/mistral": "^0.1.2",
"@llamaindex/mixedbread": "^0.0.16",
@@ -32,7 +32,7 @@
"@llamaindex/elastic-search": "^0.1.2",
"@llamaindex/node-parser": "^2.0.2",
"@llamaindex/ollama": "^0.1.2",
"@llamaindex/openai": "^0.3.2",
"@llamaindex/openai": "^0.3.3",
"@llamaindex/pinecone": "^0.1.2",
"@llamaindex/portkey-ai": "^0.0.44",
"@llamaindex/postgres": "^0.0.45",
@@ -41,15 +41,15 @@
"@llamaindex/replicate": "^0.0.44",
"@llamaindex/upstash": "^0.0.16",
"@llamaindex/vercel": "^0.1.2",
"@llamaindex/vllm": "^0.0.36",
"@llamaindex/vllm": "^0.0.37",
"@llamaindex/voyage-ai": "^1.0.8",
"@llamaindex/weaviate": "^0.0.16",
"@llamaindex/workflow": "^1.0.3",
"@llamaindex/deepseek": "^0.0.10",
"@llamaindex/fireworks": "^0.0.10",
"@llamaindex/together": "^0.0.10",
"@llamaindex/jinaai": "^0.0.10",
"@llamaindex/perplexity": "^0.0.7",
"@llamaindex/deepseek": "^0.0.11",
"@llamaindex/fireworks": "^0.0.11",
"@llamaindex/together": "^0.0.11",
"@llamaindex/jinaai": "^0.0.11",
"@llamaindex/perplexity": "^0.0.8",
"@llamaindex/supabase": "^0.1.1",
"@llamaindex/tools": "^0.0.5",
"@notionhq/client": "^2.2.15",
@@ -60,7 +60,7 @@
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"js-tiktoken": "^1.0.14",
"llamaindex": "^0.10.0",
"llamaindex": "^0.10.1",
"mongodb": "6.7.0",
"postgres": "^3.4.4",
"wikipedia": "^2.1.2",
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/autotool
## 7.0.1
### Patch Changes
- llamaindex@0.10.1
## 7.0.0
### Patch Changes
@@ -1,5 +1,12 @@
# @llamaindex/autotool-01-node-example
## 0.0.102
### Patch Changes
- llamaindex@0.10.1
- @llamaindex/autotool@7.0.1
## 0.0.101
### Patch Changes
@@ -13,5 +13,5 @@
"scripts": {
"start": "node --import tsx --import @llamaindex/autotool/node ./src/index.ts"
},
"version": "0.0.101"
"version": "0.0.102"
}
+1 -1
View File
@@ -6,7 +6,7 @@
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
"directory": "packages/autotool"
},
"version": "7.0.0",
"version": "7.0.1",
"description": "auto transpile your JS function to LLM Agent compatible",
"files": [
"dist",
+2 -2
View File
@@ -116,7 +116,7 @@
"test": "vitest"
},
"devDependencies": {
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"@types/node": "^22.9.0",
"@types/readable-stream": "^4.0.15",
"vitest": "^2.1.5"
@@ -127,7 +127,7 @@
"js-tiktoken": "^1.0.12"
},
"peerDependencies": {
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"gpt-tokenizer": "^2.5.0"
},
"peerDependenciesMeta": {
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/experimental
## 0.0.171
### Patch Changes
- llamaindex@0.10.1
## 0.0.170
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/experimental",
"description": "Experimental package for LlamaIndexTS",
"version": "0.0.170",
"version": "0.0.171",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
+7
View File
@@ -1,5 +1,12 @@
# llamaindex
## 0.10.1
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.10.0
### Minor Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "llamaindex",
"version": "0.10.0",
"version": "0.10.1",
"license": "MIT",
"type": "module",
"keywords": [
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/clip
## 0.0.51
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.50
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/clip",
"description": "Clip Embedding Adapter for LlamaIndex",
"version": "0.0.50",
"version": "0.0.51",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
@@ -39,7 +39,7 @@
"dev": "bunchee --watch"
},
"dependencies": {
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@llamaindex/openai": "workspace:*"
@@ -1,5 +1,12 @@
# @llamaindex/deepinfra
## 0.0.51
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.50
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/deepinfra",
"description": "Deepinfra Adapter for LlamaIndex",
"version": "0.0.50",
"version": "0.0.51",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/deepseek
## 0.0.11
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.10
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/deepseek",
"description": "DeepSeek Adapter for LlamaIndex",
"version": "0.0.10",
"version": "0.0.11",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/fireworks
## 0.0.11
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.10
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/fireworks",
"description": "Fireworks Adapter for LlamaIndex",
"version": "0.0.10",
"version": "0.0.11",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/groq
## 0.0.66
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.65
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/groq",
"description": "Groq Adapter for LlamaIndex",
"version": "0.0.65",
"version": "0.0.66",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/huggingface
## 0.1.5
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.1.4
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/huggingface",
"description": "Huggingface Adapter for LlamaIndex",
"version": "0.1.4",
"version": "0.1.5",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
@@ -40,7 +40,7 @@
},
"dependencies": {
"@huggingface/inference": "^2.8.1",
"@huggingface/transformers": "^3.0.2",
"@huggingface/transformers": "^3.5.0",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@llamaindex/openai": "workspace:*"
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/jinaai
## 0.0.11
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.10
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/jinaai",
"description": "JinaAI Adapter for LlamaIndex",
"version": "0.0.10",
"version": "0.0.11",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/openai
## 0.3.3
### Patch Changes
- 96dd798: Add o3 and o4-mini models
## 0.3.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/openai",
"description": "OpenAI Adapter for LlamaIndex",
"version": "0.3.2",
"version": "0.3.3",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+16
View File
@@ -103,6 +103,21 @@ export const O3_MODELS = {
"o3-mini-2025-01-31": {
contextWindow: 200000,
},
o3: {
contextWindow: 200000,
},
"o3-2025-04-16": {
contextWindow: 200000,
},
};
export const O4_MODELS = {
"o4-mini": {
contextWindow: 200000,
},
"o4-mini-2025-04-16": {
contextWindow: 200000,
},
};
/**
@@ -113,6 +128,7 @@ export const ALL_AVAILABLE_OPENAI_MODELS = {
...GPT35_MODELS,
...O1_MODELS,
...O3_MODELS,
...O4_MODELS,
} satisfies Record<ChatModel, { contextWindow: number }>;
export function isFunctionCallingModel(llm: LLM): llm is OpenAI {
@@ -1,5 +1,12 @@
# @llamaindex/perplexity
## 0.0.8
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.7
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/perplexity",
"description": "Perplexity Adapter for LlamaIndex",
"version": "0.0.7",
"version": "0.0.8",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/together
## 0.0.11
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.10
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/together",
"description": "Together Adapter for LlamaIndex",
"version": "0.0.10",
"version": "0.0.11",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/vllm
## 0.0.37
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
## 0.0.36
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/vllm",
"description": "vLLM Adapter for LlamaIndex",
"version": "0.0.36",
"version": "0.0.37",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/server
## 0.1.4
### Patch Changes
- llamaindex@0.10.1
## 0.1.3
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/server",
"description": "LlamaIndex Server",
"version": "0.1.3",
"version": "0.1.4",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+556 -479
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -1,5 +1,13 @@
# @llamaindex/unit-test
## 0.1.21
### Patch Changes
- Updated dependencies [96dd798]
- @llamaindex/openai@0.3.3
- llamaindex@0.10.1
## 0.1.20
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/unit-test",
"private": true,
"version": "0.1.20",
"version": "0.1.21",
"type": "module",
"scripts": {
"test": "vitest run"