Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot] 677abe46d2 Release 0.11.4 (#1983)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: logan-markewich <22285038+logan-markewich@users.noreply.github.com>
2025-05-28 09:46:52 +07:00
Logan 1cc271ccae improve funcion call check in anthropic llm (#1985) 2025-05-27 13:36:42 -06:00
Marcus Schiesser c927457e2e chore: Use base64 for encoding files (#1965) 2025-05-27 17:20:07 +07:00
132 changed files with 659 additions and 192 deletions
+13
View File
@@ -1,5 +1,18 @@
# @llamaindex/doc
## 0.2.23
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
- @llamaindex/cloud@4.0.12
- llamaindex@0.11.4
- @llamaindex/node-parser@2.0.8
- @llamaindex/readers@3.1.6
- @llamaindex/workflow@1.1.5
## 0.2.22
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/doc",
"version": "0.2.22",
"version": "0.2.23",
"private": true,
"scripts": {
"postinstall": "fumadocs-mdx",
@@ -1,5 +1,11 @@
# @llamaindex/cloudflare-worker-agent-test
## 0.0.165
### Patch Changes
- llamaindex@0.11.4
## 0.0.164
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/cloudflare-worker-agent-test",
"version": "0.0.164",
"version": "0.0.165",
"type": "module",
"private": true,
"scripts": {
@@ -1,5 +1,11 @@
# @llamaindex/llama-parse-browser-test
## 0.0.67
### Patch Changes
- @llamaindex/cloud@4.0.12
## 0.0.66
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/llama-parse-browser-test",
"private": true,
"version": "0.0.66",
"version": "0.0.67",
"type": "module",
"scripts": {
"dev": "vite",
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/next-agent-test
## 0.1.165
### Patch Changes
- llamaindex@0.11.4
## 0.1.164
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-agent-test",
"version": "0.1.164",
"version": "0.1.165",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,11 @@
# test-edge-runtime
## 0.1.164
### Patch Changes
- llamaindex@0.11.4
## 0.1.163
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/nextjs-edge-runtime-test",
"version": "0.1.163",
"version": "0.1.164",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,13 @@
# @llamaindex/next-node-runtime
## 0.1.32
### Patch Changes
- @llamaindex/huggingface@0.1.12
- llamaindex@0.11.4
- @llamaindex/readers@3.1.6
## 0.1.31
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-node-runtime-test",
"version": "0.1.31",
"version": "0.1.32",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,11 @@
# vite-import-llamaindex
## 0.0.31
### Patch Changes
- llamaindex@0.11.4
## 0.0.30
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "vite-import-llamaindex",
"private": true,
"version": "0.0.30",
"version": "0.0.31",
"type": "module",
"scripts": {
"build": "vite build",
@@ -1,5 +1,11 @@
# @llamaindex/waku-query-engine-test
## 0.0.165
### Patch Changes
- llamaindex@0.11.4
## 0.0.164
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/waku-query-engine-test",
"version": "0.0.164",
"version": "0.0.165",
"type": "module",
"private": true,
"scripts": {
+51
View File
@@ -1,5 +1,56 @@
# examples
## 0.3.18
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/anthropic@0.3.10
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
- @llamaindex/clip@0.0.58
- @llamaindex/deepinfra@0.0.58
- @llamaindex/deepseek@0.0.18
- @llamaindex/fireworks@0.0.18
- @llamaindex/groq@0.0.73
- @llamaindex/huggingface@0.1.12
- @llamaindex/jinaai@0.0.18
- @llamaindex/perplexity@0.0.15
- @llamaindex/azure@0.1.19
- @llamaindex/elastic-search@0.1.8
- @llamaindex/milvus@0.1.17
- @llamaindex/qdrant@0.1.18
- @llamaindex/supabase@0.1.7
- @llamaindex/together@0.0.18
- @llamaindex/vllm@0.0.44
- @llamaindex/xai@0.0.5
- @llamaindex/cloud@4.0.12
- llamaindex@0.11.4
- @llamaindex/node-parser@2.0.8
- @llamaindex/assemblyai@0.1.7
- @llamaindex/cohere@0.0.22
- @llamaindex/discord@0.1.7
- @llamaindex/google@0.3.5
- @llamaindex/mistral@0.1.8
- @llamaindex/mixedbread@0.0.22
- @llamaindex/notion@0.1.7
- @llamaindex/ollama@0.1.8
- @llamaindex/portkey-ai@0.0.50
- @llamaindex/replicate@0.0.50
- @llamaindex/astra@0.0.22
- @llamaindex/chroma@0.0.22
- @llamaindex/firestore@1.0.15
- @llamaindex/mongodb@0.0.23
- @llamaindex/pinecone@0.1.8
- @llamaindex/postgres@0.0.51
- @llamaindex/upstash@0.0.22
- @llamaindex/weaviate@0.0.22
- @llamaindex/vercel@0.1.8
- @llamaindex/voyage-ai@1.0.14
- @llamaindex/readers@3.1.6
- @llamaindex/tools@0.0.13
- @llamaindex/workflow@1.1.5
## 0.3.17
### Patch Changes
+1 -1
View File
@@ -25,7 +25,7 @@ async function main() {
},
{
type: "file",
data: Uint8Array.from(fs.readFileSync("./data/manga.pdf")),
data: fs.readFileSync("./data/manga.pdf").toString("base64"),
mimeType: "application/pdf",
},
],
+1 -1
View File
@@ -32,7 +32,7 @@ import fs from "fs";
},
{
type: "file",
data: Uint8Array.from(fs.readFileSync("./data/manga.pdf")),
data: fs.readFileSync("./data/manga.pdf").toString("base64"),
mimeType: "application/pdf",
},
],
+1 -1
View File
@@ -26,7 +26,7 @@ import fs from "fs";
},
{
type: "file",
data: new Uint8Array(fs.readFileSync("./data/manga.pdf")),
data: fs.readFileSync("./data/manga.pdf").toString("base64"),
mimeType: "application/pdf",
},
],
@@ -21,7 +21,7 @@ async function main() {
},
{
type: "file",
data: Uint8Array.from(fs.readFileSync("./data/manga.pdf")),
data: fs.readFileSync("./data/manga.pdf").toString("base64"),
mimeType: "application/pdf",
},
],
+46 -46
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/examples",
"version": "0.3.17",
"version": "0.3.18",
"private": true,
"scripts": {
"lint": "eslint .",
@@ -11,51 +11,51 @@
"@azure/cosmos": "^4.1.1",
"@azure/identity": "^4.4.1",
"@azure/search-documents": "^12.1.0",
"@llamaindex/anthropic": "^0.3.8",
"@llamaindex/assemblyai": "^0.1.6",
"@llamaindex/astra": "^0.0.21",
"@llamaindex/azure": "^0.1.17",
"@llamaindex/chroma": "^0.0.21",
"@llamaindex/clip": "^0.0.57",
"@llamaindex/cloud": "^4.0.10",
"@llamaindex/cohere": "^0.0.21",
"@llamaindex/core": "^0.6.7",
"@llamaindex/deepinfra": "^0.0.57",
"@llamaindex/deepseek": "^0.0.17",
"@llamaindex/discord": "^0.1.6",
"@llamaindex/elastic-search": "^0.1.7",
"@llamaindex/anthropic": "^0.3.10",
"@llamaindex/assemblyai": "^0.1.7",
"@llamaindex/astra": "^0.0.22",
"@llamaindex/azure": "^0.1.19",
"@llamaindex/chroma": "^0.0.22",
"@llamaindex/clip": "^0.0.58",
"@llamaindex/cloud": "^4.0.12",
"@llamaindex/cohere": "^0.0.22",
"@llamaindex/core": "^0.6.8",
"@llamaindex/deepinfra": "^0.0.58",
"@llamaindex/deepseek": "^0.0.18",
"@llamaindex/discord": "^0.1.7",
"@llamaindex/elastic-search": "^0.1.8",
"@llamaindex/env": "^0.1.30",
"@llamaindex/firestore": "^1.0.14",
"@llamaindex/fireworks": "^0.0.17",
"@llamaindex/google": "^0.3.3",
"@llamaindex/groq": "^0.0.72",
"@llamaindex/huggingface": "^0.1.11",
"@llamaindex/jinaai": "^0.0.17",
"@llamaindex/milvus": "^0.1.16",
"@llamaindex/mistral": "^0.1.7",
"@llamaindex/mixedbread": "^0.0.21",
"@llamaindex/mongodb": "^0.0.22",
"@llamaindex/node-parser": "^2.0.7",
"@llamaindex/notion": "^0.1.6",
"@llamaindex/ollama": "^0.1.7",
"@llamaindex/openai": "^0.4.1",
"@llamaindex/perplexity": "^0.0.14",
"@llamaindex/pinecone": "^0.1.7",
"@llamaindex/portkey-ai": "^0.0.49",
"@llamaindex/postgres": "^0.0.50",
"@llamaindex/qdrant": "^0.1.16",
"@llamaindex/readers": "^3.1.5",
"@llamaindex/replicate": "^0.0.49",
"@llamaindex/supabase": "^0.1.6",
"@llamaindex/together": "^0.0.17",
"@llamaindex/tools": "^0.0.12",
"@llamaindex/upstash": "^0.0.21",
"@llamaindex/vercel": "^0.1.7",
"@llamaindex/vllm": "^0.0.43",
"@llamaindex/voyage-ai": "^1.0.13",
"@llamaindex/weaviate": "^0.0.21",
"@llamaindex/workflow": "^1.1.4",
"@llamaindex/xai": "workspace:^0.0.4",
"@llamaindex/firestore": "^1.0.15",
"@llamaindex/fireworks": "^0.0.18",
"@llamaindex/google": "^0.3.5",
"@llamaindex/groq": "^0.0.73",
"@llamaindex/huggingface": "^0.1.12",
"@llamaindex/jinaai": "^0.0.18",
"@llamaindex/milvus": "^0.1.17",
"@llamaindex/mistral": "^0.1.8",
"@llamaindex/mixedbread": "^0.0.22",
"@llamaindex/mongodb": "^0.0.23",
"@llamaindex/node-parser": "^2.0.8",
"@llamaindex/notion": "^0.1.7",
"@llamaindex/ollama": "^0.1.8",
"@llamaindex/openai": "^0.4.2",
"@llamaindex/perplexity": "^0.0.15",
"@llamaindex/pinecone": "^0.1.8",
"@llamaindex/portkey-ai": "^0.0.50",
"@llamaindex/postgres": "^0.0.51",
"@llamaindex/qdrant": "^0.1.18",
"@llamaindex/readers": "^3.1.6",
"@llamaindex/replicate": "^0.0.50",
"@llamaindex/supabase": "^0.1.7",
"@llamaindex/together": "^0.0.18",
"@llamaindex/tools": "^0.0.13",
"@llamaindex/upstash": "^0.0.22",
"@llamaindex/vercel": "^0.1.8",
"@llamaindex/vllm": "^0.0.44",
"@llamaindex/voyage-ai": "^1.0.14",
"@llamaindex/weaviate": "^0.0.22",
"@llamaindex/workflow": "^1.1.5",
"@llamaindex/xai": "workspace:^0.0.5",
"@notionhq/client": "^2.2.15",
"@pinecone-database/pinecone": "^4.0.0",
"@vercel/postgres": "^0.10.0",
@@ -64,7 +64,7 @@
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"js-tiktoken": "^1.0.14",
"llamaindex": "^0.11.2",
"llamaindex": "^0.11.4",
"mongodb": "6.7.0",
"postgres": "^3.4.4",
"wikipedia": "^2.1.2",
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/autotool
## 8.0.4
### Patch Changes
- llamaindex@0.11.4
## 8.0.3
### Patch Changes
@@ -1,5 +1,12 @@
# @llamaindex/autotool-01-node-example
## 0.0.112
### Patch Changes
- llamaindex@0.11.4
- @llamaindex/autotool@8.0.4
## 0.0.111
### Patch Changes
@@ -13,5 +13,5 @@
"scripts": {
"start": "node --import tsx --import @llamaindex/autotool/node ./src/index.ts"
},
"version": "0.0.111"
"version": "0.0.112"
}
+1 -1
View File
@@ -6,7 +6,7 @@
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
"directory": "packages/autotool"
},
"version": "8.0.3",
"version": "8.0.4",
"description": "auto transpile your JS function to LLM Agent compatible",
"files": [
"dist",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/cloud
## 4.0.12
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 4.0.11
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/cloud",
"version": "4.0.11",
"version": "4.0.12",
"type": "module",
"license": "MIT",
"scripts": {
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/core
## 0.6.8
### Patch Changes
- c927457: Use base64 for encoding files
## 0.6.7
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/core",
"type": "module",
"version": "0.6.7",
"version": "0.6.8",
"description": "LlamaIndex Core Module",
"exports": {
"./agent": {
+8 -7
View File
@@ -166,28 +166,29 @@ export type MessageContentImageDetail = {
export type MessageContentAudioDetail = {
type: "audio";
//audio could be a base64 string as well
data: string | Uint8Array;
// this is a base64 encoded string
data: string;
mimeType: string;
};
export type MessageContentVideoDetail = {
type: "video";
//video could be a base64 string as well
data: string | Uint8Array;
// this is a base64 encoded string
data: string;
mimeType: string;
};
export type MessageContentImageDataDetail = {
type: "image";
//image could be a base64 string as well
data: string | Uint8Array;
// this is a base64 encoded string
data: string;
mimeType: string;
};
export type MessageContentFileDetail = {
type: "file";
data: Uint8Array;
// this is a base64 encoded string
data: string;
mimeType: string;
};
+6
View File
@@ -1,5 +1,11 @@
# @llamaindex/experimental
## 0.0.181
### Patch Changes
- llamaindex@0.11.4
## 0.0.180
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/experimental",
"description": "Experimental package for LlamaIndexTS",
"version": "0.0.180",
"version": "0.0.181",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
+10
View File
@@ -1,5 +1,15 @@
# llamaindex
## 0.11.4
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
- @llamaindex/cloud@4.0.12
- @llamaindex/node-parser@2.0.8
- @llamaindex/workflow@1.1.5
## 0.11.3
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "llamaindex",
"version": "0.11.3",
"version": "0.11.4",
"license": "MIT",
"type": "module",
"keywords": [
@@ -24,7 +24,7 @@
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@llamaindex/node-parser": "workspace:*",
"@llamaindex/workflow": "1.0.3",
"@llamaindex/workflow": "1.1.5",
"@types/lodash": "^4.17.7",
"@types/node": "^22.9.0",
"ajv": "^8.17.1",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/core-test
## 0.1.3
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
## 0.1.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/llamaindex-test",
"private": true,
"version": "0.1.2",
"version": "0.1.3",
"type": "module",
"scripts": {
"test": "vitest run"
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/node-parser
## 2.0.8
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 2.0.7
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/node-parser",
"version": "2.0.7",
"version": "2.0.8",
"description": "Node parser for LlamaIndex",
"type": "module",
"exports": {
@@ -1,5 +1,13 @@
# @llamaindex/anthropic
## 0.3.10
### Patch Changes
- c927457: Use base64 for encoding files
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.3.9
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/anthropic",
"description": "Anthropic Adapter for LlamaIndex",
"version": "0.3.9",
"version": "0.3.10",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+3 -3
View File
@@ -28,7 +28,7 @@ import type {
} from "@llamaindex/core/llms";
import { ToolCallLLM } from "@llamaindex/core/llms";
import { extractText } from "@llamaindex/core/utils";
import { getEnv, uint8ArrayToBase64 } from "@llamaindex/env";
import { getEnv } from "@llamaindex/env";
import { isDeepEqual } from "remeda";
export class AnthropicSession {
@@ -187,7 +187,7 @@ export class Anthropic extends ToolCallLLM<
}
get supportToolCall() {
return this.model.startsWith("claude-3");
return this.model.includes("-3") || this.model.includes("-4");
}
get metadata() {
@@ -342,7 +342,7 @@ export class Anthropic extends ToolCallLLM<
source: {
type: "base64" as const,
media_type: content.mimeType,
data: uint8ArrayToBase64(content.data),
data: content.data,
},
};
}
@@ -178,7 +178,7 @@ describe("Message Formatting", () => {
{
type: "file",
mimeType: "application/pdf",
data: pdfBuffer,
data: pdfBuffer.toString("base64"),
},
],
role: "user",
@@ -1,5 +1,12 @@
# @llamaindex/assemblyai
## 0.1.7
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.6
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/assemblyai",
"description": "AssemblyAI Reader for LlamaIndex",
"version": "0.1.6",
"version": "0.1.7",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/community
## 0.0.103
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.102
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/aws",
"description": "AWS package for LlamaIndexTS",
"version": "0.0.102",
"version": "0.0.103",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
+8
View File
@@ -1,5 +1,13 @@
# @llamaindex/clip
## 0.0.58
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.0.57
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/clip",
"description": "Clip Embedding Adapter for LlamaIndex",
"version": "0.0.57",
"version": "0.0.58",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/cohere
## 0.0.22
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.21
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/cohere",
"description": "Cohere Adapter for LlamaIndex",
"version": "0.0.21",
"version": "0.0.22",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,13 @@
# @llamaindex/deepinfra
## 0.0.58
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.0.57
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/deepinfra",
"description": "Deepinfra Adapter for LlamaIndex",
"version": "0.0.57",
"version": "0.0.58",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/deepseek
## 0.0.18
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
## 0.0.17
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/deepseek",
"description": "DeepSeek Adapter for LlamaIndex",
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/discord
## 0.1.7
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.6
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/discord",
"description": "Discord Reader for LlamaIndex",
"version": "0.1.6",
"version": "0.1.7",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
@@ -1,5 +1,12 @@
# @llamaindex/fireworks
## 0.0.18
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
## 0.0.17
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/fireworks",
"description": "Fireworks Adapter for LlamaIndex",
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/google
## 0.3.5
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.3.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/google",
"description": "Google Adapter for LlamaIndex",
"version": "0.3.4",
"version": "0.3.5",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/groq
## 0.0.73
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
## 0.0.72
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/groq",
"description": "Groq Adapter for LlamaIndex",
"version": "0.0.72",
"version": "0.0.73",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,13 @@
# @llamaindex/huggingface
## 0.1.12
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.1.11
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/huggingface",
"description": "Huggingface Adapter for LlamaIndex",
"version": "0.1.11",
"version": "0.1.12",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
+8
View File
@@ -1,5 +1,13 @@
# @llamaindex/jinaai
## 0.0.18
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.0.17
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/jinaai",
"description": "JinaAI Adapter for LlamaIndex",
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/mistral
## 0.1.8
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.7
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/mistral",
"description": "Mistral Adapter for LlamaIndex",
"version": "0.1.7",
"version": "0.1.8",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/mixedbread
## 0.0.22
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.21
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/mixedbread",
"description": "Mixedbread Adapter for LlamaIndex",
"version": "0.0.21",
"version": "0.0.22",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/notion
## 0.1.7
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.6
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/notion",
"description": "Notion Reader for LlamaIndex",
"version": "0.1.6",
"version": "0.1.7",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/ollama
## 0.1.8
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.7
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/ollama",
"description": "Ollama Adapter for LlamaIndex",
"version": "0.1.7",
"version": "0.1.8",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+8
View File
@@ -1,5 +1,13 @@
# @llamaindex/openai
## 0.4.2
### Patch Changes
- c927457: Use base64 for encoding files
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.4.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/openai",
"description": "OpenAI Adapter for LlamaIndex",
"version": "0.4.1",
"version": "0.4.2",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
+2 -2
View File
@@ -13,7 +13,7 @@ import {
type ToolCallLLMMessageOptions,
} from "@llamaindex/core/llms";
import { extractText } from "@llamaindex/core/utils";
import { getEnv, uint8ArrayToBase64 } from "@llamaindex/env";
import { getEnv } from "@llamaindex/env";
import { Tokenizers } from "@llamaindex/env/tokenizers";
import type {
ClientOptions as OpenAIClientOptions,
@@ -206,7 +206,7 @@ export class OpenAI extends ToolCallLLM<OpenAIAdditionalChatOptions> {
if (item.mimeType !== "application/pdf") {
throw new Error("Only PDF files are supported");
}
const base64Data = uint8ArrayToBase64(item.data);
const base64Data = item.data;
return {
type: "file",
file: {
+2 -2
View File
@@ -18,7 +18,7 @@ import {
} from "@llamaindex/core/llms";
import type { StoredValue } from "@llamaindex/core/schema";
import { extractText } from "@llamaindex/core/utils";
import { getEnv, uint8ArrayToBase64 } from "@llamaindex/env";
import { getEnv } from "@llamaindex/env";
import { wrapEventCaller } from "@llamaindex/core/decorator";
import { Tokenizers } from "@llamaindex/env/tokenizers";
@@ -694,7 +694,7 @@ export class OpenAIResponses extends ToolCallLLM<OpenAIResponsesChatOptions> {
);
}
const base64Data = uint8ArrayToBase64(item.data);
const base64Data = item.data;
return {
type: "input_file",
filename: `part-${index}.pdf`,
+4 -4
View File
@@ -141,7 +141,7 @@ describe("OpenAI Static Methods", () => {
});
it("should convert user messages with file content", () => {
const pdfBuffer = Buffer.from("test PDF content");
const pdfBuffer = Buffer.from("test PDF content").toString("base64");
const messages: ChatMessage<ToolCallLLMMessageOptions>[] = [
{
role: "user",
@@ -163,7 +163,7 @@ describe("OpenAI Static Methods", () => {
{
type: "file",
file: {
file_data: `data:application/pdf;base64,${pdfBuffer.toString("base64")}`,
file_data: `data:application/pdf;base64,${pdfBuffer}`,
filename: "part-0.pdf",
},
},
@@ -173,7 +173,7 @@ describe("OpenAI Static Methods", () => {
});
it("should convert user messages with mixed content", () => {
const pdfBuffer = Buffer.from("test PDF content");
const pdfBuffer = Buffer.from("test PDF content").toString("base64");
const messages: ChatMessage<ToolCallLLMMessageOptions>[] = [
{
role: "user",
@@ -203,7 +203,7 @@ describe("OpenAI Static Methods", () => {
{
type: "file",
file: {
file_data: `data:application/pdf;base64,${pdfBuffer.toString("base64")}`,
file_data: `data:application/pdf;base64,${pdfBuffer}`,
filename: "part-1.pdf",
},
},
@@ -183,7 +183,7 @@ describe("OpenAIResponses Unit Tests", () => {
});
it("should process file content with PDF type", () => {
const pdfBuffer = Buffer.from("test PDF content");
const pdfBuffer = Buffer.from("test PDF content").toString("base64");
const content = [
{
type: "file",
@@ -196,7 +196,7 @@ describe("OpenAIResponses Unit Tests", () => {
expect(result[0]).toEqual({
type: "input_file",
filename: "part-0.pdf",
file_data: `data:application/pdf;base64,${pdfBuffer.toString("base64")}`,
file_data: `data:application/pdf;base64,${pdfBuffer}`,
});
});
@@ -205,7 +205,7 @@ describe("OpenAIResponses Unit Tests", () => {
{
type: "file",
mimeType: "image/jpeg",
data: Uint8Array.from(Buffer.from("test image content")),
data: Buffer.from("test image content").toString("base64"),
},
];
// @ts-expect-error accessing private method
@@ -1,5 +1,13 @@
# @llamaindex/perplexity
## 0.0.15
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.0.14
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/perplexity",
"description": "Perplexity Adapter for LlamaIndex",
"version": "0.0.14",
"version": "0.0.15",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/portkey-ai
## 0.0.50
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.49
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/portkey-ai",
"description": "Portkey Adapter for LlamaIndex",
"version": "0.0.49",
"version": "0.0.50",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/replicate
## 0.0.50
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.49
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/replicate",
"description": "Replicate Adapter for LlamaIndex",
"version": "0.0.49",
"version": "0.0.50",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/astra
## 0.0.22
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.21
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/astra",
"description": "Astra Storage for LlamaIndex",
"version": "0.0.21",
"version": "0.0.22",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,13 @@
# @llamaindex/azure
## 0.1.19
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/openai@0.4.2
- @llamaindex/core@0.6.8
## 0.1.18
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/azure",
"description": "Azure Storage for LlamaIndex",
"version": "0.1.18",
"version": "0.1.19",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/chroma
## 0.0.22
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.21
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/chroma",
"description": "Chroma Storage for LlamaIndex",
"version": "0.0.21",
"version": "0.0.22",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/elastic-search
## 0.1.8
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.7
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/elastic-search",
"description": "Elastic Search Storage for LlamaIndex",
"version": "0.1.7",
"version": "0.1.8",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/firestore
## 1.0.15
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 1.0.14
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/firestore",
"description": "Firestore Storage for LlamaIndex",
"version": "1.0.14",
"version": "1.0.15",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/milvus
## 0.1.17
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.1.16
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/milvus",
"description": "Milvus Storage for LlamaIndex",
"version": "0.1.16",
"version": "0.1.17",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -1,5 +1,12 @@
# @llamaindex/mongodb
## 0.0.23
### Patch Changes
- Updated dependencies [c927457]
- @llamaindex/core@0.6.8
## 0.0.22
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More