mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-19 18:43:34 -04:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a3cbcb31a2 | |||
| bbc8c8787d | |||
| 4b49428f57 | |||
| 7ee4968b06 |
@@ -1,5 +1,14 @@
|
|||||||
# @llamaindex/doc
|
# @llamaindex/doc
|
||||||
|
|
||||||
|
## 0.1.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4b49428]
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- @llamaindex/workflow@0.0.14
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.1.7
|
## 0.1.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/doc",
|
"name": "@llamaindex/doc",
|
||||||
"version": "0.1.7",
|
"version": "0.1.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm run build:docs && next build",
|
"build": "pnpm run build:docs && next build",
|
||||||
|
|||||||
+3
-2
@@ -2,10 +2,11 @@
|
|||||||
title: Jina AI
|
title: Jina AI
|
||||||
---
|
---
|
||||||
|
|
||||||
To use Jina AI embeddings, you need to import `JinaAIEmbedding` from `llamaindex`.
|
To use Jina AI embeddings, you need to import `JinaAIEmbedding` from `@llamaindex/jinaai`.
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { JinaAIEmbedding, Settings } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
import { JinaAIEmbedding } from "@llamaindex/jinaai";
|
||||||
|
|
||||||
Settings.embedModel = new JinaAIEmbedding();
|
Settings.embedModel = new JinaAIEmbedding();
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -2,10 +2,11 @@
|
|||||||
title: Together
|
title: Together
|
||||||
---
|
---
|
||||||
|
|
||||||
To use together embeddings, you need to import `TogetherEmbedding` from `llamaindex`.
|
To use together embeddings, you need to import `TogetherEmbedding` from `@llamaindex/together`.
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { TogetherEmbedding, Settings } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
import { TogetherEmbedding } from "@llamaindex/together";
|
||||||
|
|
||||||
Settings.embedModel = new TogetherEmbedding({
|
Settings.embedModel = new TogetherEmbedding({
|
||||||
apiKey: "<YOUR_API_KEY>",
|
apiKey: "<YOUR_API_KEY>",
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ title: DeepSeek LLM
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { DeepSeekLLM, Settings } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
import { DeepSeekLLM } from "@llamaindex/deepseek";
|
||||||
|
|
||||||
Settings.llm = new DeepSeekLLM({
|
Settings.llm = new DeepSeekLLM({
|
||||||
apiKey: "<YOUR_API_KEY>",
|
apiKey: "<YOUR_API_KEY>",
|
||||||
@@ -18,7 +19,8 @@ Settings.llm = new DeepSeekLLM({
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { DeepSeekLLM, Document, VectorStoreIndex, Settings } from "llamaindex";
|
import { Document, VectorStoreIndex, Settings } from "llamaindex";
|
||||||
|
import { DeepSeekLLM } from "@llamaindex/deepseek";
|
||||||
|
|
||||||
const deepseekLlm = new DeepSeekLLM({
|
const deepseekLlm = new DeepSeekLLM({
|
||||||
apiKey: "<YOUR_API_KEY>",
|
apiKey: "<YOUR_API_KEY>",
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ title: Fireworks LLM
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { FireworksLLM, Settings } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
import { FireworksLLM } from "@llamaindex/fireworks";
|
||||||
|
|
||||||
Settings.llm = new FireworksLLM({
|
Settings.llm = new FireworksLLM({
|
||||||
apiKey: "<YOUR_API_KEY>",
|
apiKey: "<YOUR_API_KEY>",
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ import { Tab, Tabs } from "fumadocs-ui/components/tabs";
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { Settings, TogetherLLM } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
import { TogetherLLM } from "@llamaindex/together";
|
||||||
|
|
||||||
Settings.llm = new TogetherLLM({
|
Settings.llm = new TogetherLLM({
|
||||||
apiKey: "<YOUR_API_KEY>",
|
apiKey: "<YOUR_API_KEY>",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/cloudflare-worker-agent-test
|
# @llamaindex/cloudflare-worker-agent-test
|
||||||
|
|
||||||
|
## 0.0.142
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.0.141
|
## 0.0.141
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/cloudflare-worker-agent-test",
|
"name": "@llamaindex/cloudflare-worker-agent-test",
|
||||||
"version": "0.0.141",
|
"version": "0.0.142",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/next-agent-test
|
# @llamaindex/next-agent-test
|
||||||
|
|
||||||
|
## 0.1.142
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.1.141
|
## 0.1.141
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/next-agent-test",
|
"name": "@llamaindex/next-agent-test",
|
||||||
"version": "0.1.141",
|
"version": "0.1.142",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# test-edge-runtime
|
# test-edge-runtime
|
||||||
|
|
||||||
|
## 0.1.141
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.1.140
|
## 0.1.140
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/nextjs-edge-runtime-test",
|
"name": "@llamaindex/nextjs-edge-runtime-test",
|
||||||
"version": "0.1.140",
|
"version": "0.1.141",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/next-node-runtime
|
# @llamaindex/next-node-runtime
|
||||||
|
|
||||||
|
## 0.1.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.1.7
|
## 0.1.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/next-node-runtime-test",
|
"name": "@llamaindex/next-node-runtime-test",
|
||||||
"version": "0.1.7",
|
"version": "0.1.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# vite-import-llamaindex
|
# vite-import-llamaindex
|
||||||
|
|
||||||
|
## 0.0.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.0.7
|
## 0.0.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vite-import-llamaindex",
|
"name": "vite-import-llamaindex",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/waku-query-engine-test
|
# @llamaindex/waku-query-engine-test
|
||||||
|
|
||||||
|
## 0.0.142
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.0.141
|
## 0.0.141
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/waku-query-engine-test",
|
"name": "@llamaindex/waku-query-engine-test",
|
||||||
"version": "0.0.141",
|
"version": "0.0.142",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,5 +1,20 @@
|
|||||||
# examples
|
# examples
|
||||||
|
|
||||||
|
## 0.2.7
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4b49428]
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- Updated dependencies [7ee4968]
|
||||||
|
- @llamaindex/workflow@0.0.14
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
- @llamaindex/deepseek@0.0.2
|
||||||
|
- @llamaindex/fireworks@0.0.2
|
||||||
|
- @llamaindex/together@0.0.2
|
||||||
|
- @llamaindex/jinaai@0.0.2
|
||||||
|
- @llamaindex/google@0.0.14
|
||||||
|
|
||||||
## 0.2.6
|
## 0.2.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
import { DeepSeekLLM } from "@llamaindex/deepseek";
|
||||||
|
|
||||||
|
// process.env.DEEPSEEK_API_KEY is required
|
||||||
|
const deepseek = new DeepSeekLLM({
|
||||||
|
apiKey: process.env.DEEPSEEK_API_KEY,
|
||||||
|
model: "deepseek-coder", // or "deepseek-chat"
|
||||||
|
});
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
// Example of non-streaming chat
|
||||||
|
const response = await deepseek.chat({
|
||||||
|
messages: [
|
||||||
|
{
|
||||||
|
role: "system",
|
||||||
|
content: "You are an AI assistant",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
role: "user",
|
||||||
|
content: "Tell me about San Francisco",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
stream: false,
|
||||||
|
});
|
||||||
|
console.log("Response from DeepSeek AI:");
|
||||||
|
console.log(response);
|
||||||
|
|
||||||
|
// Example of streaming chat
|
||||||
|
const generator = await deepseek.chat({
|
||||||
|
messages: [
|
||||||
|
{
|
||||||
|
role: "system",
|
||||||
|
content: "You are an AI assistant",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
role: "user",
|
||||||
|
content: "Write a short poem about San Francisco",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
stream: true,
|
||||||
|
});
|
||||||
|
console.log("\nStreaming response from DeepSeek AI...");
|
||||||
|
for await (const message of generator) {
|
||||||
|
process.stdout.write(message.delta);
|
||||||
|
}
|
||||||
|
console.log("\n");
|
||||||
|
})();
|
||||||
@@ -1,10 +1,6 @@
|
|||||||
|
import { JinaAIEmbedding } from "@llamaindex/jinaai";
|
||||||
import { SimpleDirectoryReader } from "@llamaindex/readers/directory";
|
import { SimpleDirectoryReader } from "@llamaindex/readers/directory";
|
||||||
import {
|
import { ImageDocument, similarity, SimilarityType } from "llamaindex";
|
||||||
ImageDocument,
|
|
||||||
JinaAIEmbedding,
|
|
||||||
similarity,
|
|
||||||
SimilarityType,
|
|
||||||
} from "llamaindex";
|
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/examples",
|
"name": "@llamaindex/examples",
|
||||||
"version": "0.2.6",
|
"version": "0.2.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"@llamaindex/deepinfra": "^0.0.42",
|
"@llamaindex/deepinfra": "^0.0.42",
|
||||||
"@llamaindex/env": "^0.1.29",
|
"@llamaindex/env": "^0.1.29",
|
||||||
"@llamaindex/firestore": "^1.0.4",
|
"@llamaindex/firestore": "^1.0.4",
|
||||||
"@llamaindex/google": "^0.0.13",
|
"@llamaindex/google": "^0.0.14",
|
||||||
"@llamaindex/groq": "^0.0.57",
|
"@llamaindex/groq": "^0.0.57",
|
||||||
"@llamaindex/huggingface": "^0.0.42",
|
"@llamaindex/huggingface": "^0.0.42",
|
||||||
"@llamaindex/milvus": "^0.1.6",
|
"@llamaindex/milvus": "^0.1.6",
|
||||||
@@ -43,7 +43,11 @@
|
|||||||
"@llamaindex/vllm": "^0.0.28",
|
"@llamaindex/vllm": "^0.0.28",
|
||||||
"@llamaindex/voyage-ai": "^1.0.3",
|
"@llamaindex/voyage-ai": "^1.0.3",
|
||||||
"@llamaindex/weaviate": "^0.0.11",
|
"@llamaindex/weaviate": "^0.0.11",
|
||||||
"@llamaindex/workflow": "^0.0.13",
|
"@llamaindex/workflow": "^0.0.14",
|
||||||
|
"@llamaindex/deepseek": "^0.0.2",
|
||||||
|
"@llamaindex/fireworks": "^0.0.2",
|
||||||
|
"@llamaindex/together": "^0.0.2",
|
||||||
|
"@llamaindex/jinaai": "^0.0.2",
|
||||||
"@notionhq/client": "^2.2.15",
|
"@notionhq/client": "^2.2.15",
|
||||||
"@pinecone-database/pinecone": "^4.0.0",
|
"@pinecone-database/pinecone": "^4.0.0",
|
||||||
"@vercel/postgres": "^0.10.0",
|
"@vercel/postgres": "^0.10.0",
|
||||||
@@ -52,7 +56,7 @@
|
|||||||
"commander": "^12.1.0",
|
"commander": "^12.1.0",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"js-tiktoken": "^1.0.14",
|
"js-tiktoken": "^1.0.14",
|
||||||
"llamaindex": "^0.9.7",
|
"llamaindex": "^0.9.8",
|
||||||
"mongodb": "6.7.0",
|
"mongodb": "6.7.0",
|
||||||
"postgres": "^3.4.4",
|
"postgres": "^3.4.4",
|
||||||
"wikipedia": "^2.1.2",
|
"wikipedia": "^2.1.2",
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
import {
|
||||||
|
GEMINI_EMBEDDING_MODEL,
|
||||||
|
GeminiEmbedding,
|
||||||
|
GeminiSession,
|
||||||
|
} from "@llamaindex/google";
|
||||||
|
import { QdrantVectorStore } from "@llamaindex/qdrant";
|
||||||
|
import {
|
||||||
|
Document,
|
||||||
|
storageContextFromDefaults,
|
||||||
|
VectorStoreIndex,
|
||||||
|
} from "llamaindex";
|
||||||
|
|
||||||
|
const embedding = new GeminiEmbedding({
|
||||||
|
model: GEMINI_EMBEDDING_MODEL.EMBEDDING_001,
|
||||||
|
session: new GeminiSession({
|
||||||
|
apiKey: process.env.GEMINI_API_KEY,
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const docs = [new Document({ text: "Lorem ipsum dolor sit amet" })];
|
||||||
|
const vectorStore = new QdrantVectorStore({
|
||||||
|
url: process.env.QDRANT_URL,
|
||||||
|
apiKey: process.env.QDRANT_API_KEY,
|
||||||
|
embeddingModel: embedding,
|
||||||
|
collectionName: "gemini_test",
|
||||||
|
});
|
||||||
|
const storageContext = await storageContextFromDefaults({ vectorStore });
|
||||||
|
await VectorStoreIndex.fromDocuments(docs, { storageContext });
|
||||||
|
console.log("Inizialized vector store successfully");
|
||||||
|
}
|
||||||
|
|
||||||
|
void main().catch((err) => console.error(err));
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
import { JinaAIEmbedding } from "@llamaindex/jinaai";
|
||||||
|
import { QdrantVectorStore } from "@llamaindex/qdrant";
|
||||||
|
import {
|
||||||
|
Document,
|
||||||
|
storageContextFromDefaults,
|
||||||
|
VectorStoreIndex,
|
||||||
|
} from "llamaindex";
|
||||||
|
|
||||||
|
const embedding = new JinaAIEmbedding({
|
||||||
|
apiKey: process.env.JINAAI_API_KEY,
|
||||||
|
model: "jina-embeddings-v3",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const docs = [new Document({ text: "Lorem ipsum dolor sit amet" })];
|
||||||
|
const vectorStore = new QdrantVectorStore({
|
||||||
|
url: process.env.QDRANT_URL,
|
||||||
|
apiKey: process.env.QDRANT_API_KEY,
|
||||||
|
embeddingModel: embedding,
|
||||||
|
collectionName: "jina_test",
|
||||||
|
});
|
||||||
|
const storageContext = await storageContextFromDefaults({ vectorStore });
|
||||||
|
await VectorStoreIndex.fromDocuments(docs, { storageContext });
|
||||||
|
console.log("Inizialized vector store successfully");
|
||||||
|
}
|
||||||
|
|
||||||
|
void main().catch((err) => console.error(err));
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
|
import { FireworksEmbedding, FireworksLLM } from "@llamaindex/fireworks";
|
||||||
import { PDFReader } from "@llamaindex/readers/pdf";
|
import { PDFReader } from "@llamaindex/readers/pdf";
|
||||||
import { FireworksEmbedding, FireworksLLM, VectorStoreIndex } from "llamaindex";
|
import { VectorStoreIndex } from "llamaindex";
|
||||||
|
|
||||||
import { Settings } from "llamaindex";
|
import { Settings } from "llamaindex";
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { TogetherEmbedding, TogetherLLM } from "llamaindex";
|
import { TogetherEmbedding, TogetherLLM } from "@llamaindex/together";
|
||||||
|
|
||||||
// process.env.TOGETHER_API_KEY is required
|
// process.env.TOGETHER_API_KEY is required
|
||||||
const together = new TogetherLLM({
|
const together = new TogetherLLM({
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
|
|
||||||
import {
|
import { TogetherEmbedding, TogetherLLM } from "@llamaindex/together";
|
||||||
Document,
|
import { Document, Settings, VectorStoreIndex } from "llamaindex";
|
||||||
Settings,
|
|
||||||
TogetherEmbedding,
|
|
||||||
TogetherLLM,
|
|
||||||
VectorStoreIndex,
|
|
||||||
} from "llamaindex";
|
|
||||||
|
|
||||||
// Update llm to use TogetherAI
|
// Update llm to use TogetherAI
|
||||||
Settings.llm = new TogetherLLM({
|
Settings.llm = new TogetherLLM({
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/autotool
|
# @llamaindex/autotool
|
||||||
|
|
||||||
|
## 6.0.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 6.0.7
|
## 6.0.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# @llamaindex/autotool-01-node-example
|
# @llamaindex/autotool-01-node-example
|
||||||
|
|
||||||
|
## 0.0.89
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
- @llamaindex/autotool@6.0.8
|
||||||
|
|
||||||
## 0.0.88
|
## 0.0.88
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -13,5 +13,5 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node --import tsx --import @llamaindex/autotool/node ./src/index.ts"
|
"start": "node --import tsx --import @llamaindex/autotool/node ./src/index.ts"
|
||||||
},
|
},
|
||||||
"version": "0.0.88"
|
"version": "0.0.89"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# @llamaindex/autotool-02-next-example
|
# @llamaindex/autotool-02-next-example
|
||||||
|
|
||||||
|
## 0.1.133
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
- @llamaindex/autotool@6.0.8
|
||||||
|
|
||||||
## 0.1.132
|
## 0.1.132
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/autotool-02-next-example",
|
"name": "@llamaindex/autotool-02-next-example",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.132",
|
"version": "0.1.133",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
||||||
"directory": "packages/autotool"
|
"directory": "packages/autotool"
|
||||||
},
|
},
|
||||||
"version": "6.0.7",
|
"version": "6.0.8",
|
||||||
"description": "auto transpile your JS function to LLM Agent compatible",
|
"description": "auto transpile your JS function to LLM Agent compatible",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @llamaindex/experimental
|
# @llamaindex/experimental
|
||||||
|
|
||||||
|
## 0.0.158
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.0.157
|
## 0.0.157
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/experimental",
|
"name": "@llamaindex/experimental",
|
||||||
"description": "Experimental package for LlamaIndexTS",
|
"description": "Experimental package for LlamaIndexTS",
|
||||||
"version": "0.0.157",
|
"version": "0.0.158",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "dist/type/index.d.ts",
|
"types": "dist/type/index.d.ts",
|
||||||
"main": "dist/cjs/index.js",
|
"main": "dist/cjs/index.js",
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# llamaindex
|
# llamaindex
|
||||||
|
|
||||||
|
## 0.9.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- bbc8c87: fix: prefer using embedding model from vector store
|
||||||
|
- Updated dependencies [4b49428]
|
||||||
|
- @llamaindex/workflow@0.0.14
|
||||||
|
|
||||||
## 0.9.7
|
## 0.9.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "llamaindex",
|
"name": "llamaindex",
|
||||||
"version": "0.9.7",
|
"version": "0.9.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
export * from "@llamaindex/openai";
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
export * from "@llamaindex/core/embeddings";
|
|
||||||
export { FireworksEmbedding } from "./fireworks.js";
|
|
||||||
export * from "./JinaAIEmbedding.js";
|
|
||||||
export * from "./OpenAIEmbedding.js";
|
|
||||||
export { TogetherEmbedding } from "./together.js";
|
|
||||||
@@ -22,6 +22,7 @@ export {
|
|||||||
export * from "@llamaindex/core/agent";
|
export * from "@llamaindex/core/agent";
|
||||||
export * from "@llamaindex/core/chat-engine";
|
export * from "@llamaindex/core/chat-engine";
|
||||||
export * from "@llamaindex/core/data-structs";
|
export * from "@llamaindex/core/data-structs";
|
||||||
|
export * from "@llamaindex/core/embeddings";
|
||||||
export {
|
export {
|
||||||
CallbackManager,
|
CallbackManager,
|
||||||
DEFAULT_BASE_URL,
|
DEFAULT_BASE_URL,
|
||||||
@@ -65,10 +66,10 @@ export * from "@llamaindex/core/storage/doc-store";
|
|||||||
export * from "@llamaindex/core/storage/index-store";
|
export * from "@llamaindex/core/storage/index-store";
|
||||||
export * from "@llamaindex/core/storage/kv-store";
|
export * from "@llamaindex/core/storage/kv-store";
|
||||||
export * from "@llamaindex/core/utils";
|
export * from "@llamaindex/core/utils";
|
||||||
|
export * from "@llamaindex/openai";
|
||||||
export * from "@llamaindex/workflow/agent";
|
export * from "@llamaindex/workflow/agent";
|
||||||
export * from "./agent/index.js";
|
export * from "./agent/index.js";
|
||||||
export * from "./cloud/index.js";
|
export * from "./cloud/index.js";
|
||||||
export * from "./embeddings/index.js";
|
|
||||||
export * from "./engines/chat/index.js";
|
export * from "./engines/chat/index.js";
|
||||||
export * from "./engines/query/index.js";
|
export * from "./engines/query/index.js";
|
||||||
export * from "./evaluation/index.js";
|
export * from "./evaluation/index.js";
|
||||||
@@ -76,7 +77,6 @@ export * from "./extractors/index.js";
|
|||||||
export * from "./indices/index.js";
|
export * from "./indices/index.js";
|
||||||
export * from "./ingestion/index.js";
|
export * from "./ingestion/index.js";
|
||||||
export { imageToDataUrl } from "./internal/utils.js";
|
export { imageToDataUrl } from "./internal/utils.js";
|
||||||
export * from "./llm/index.js";
|
|
||||||
export * from "./node-parser.js";
|
export * from "./node-parser.js";
|
||||||
export * from "./objects/index.js";
|
export * from "./objects/index.js";
|
||||||
export * from "./OutputParser.js";
|
export * from "./OutputParser.js";
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
export * from "./index.edge.js";
|
export * from "./index.edge.js";
|
||||||
|
|
||||||
// TODO: clean up, move to jinaai package
|
|
||||||
export { JinaAIEmbedding } from "./embeddings/JinaAIEmbedding.js";
|
|
||||||
|
|
||||||
// Don't export file-system stores for non-node.js runtime on top level,
|
// Don't export file-system stores for non-node.js runtime on top level,
|
||||||
// as we cannot guarantee that they will work in other environments
|
// as we cannot guarantee that they will work in other environments
|
||||||
export * from "./storage/index.js";
|
export * from "./storage/index.js";
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ export class VectorStoreIndex extends BaseIndex<IndexDict> {
|
|||||||
for (const type in nodeMap) {
|
for (const type in nodeMap) {
|
||||||
const nodes = nodeMap[type as ModalityType];
|
const nodes = nodeMap[type as ModalityType];
|
||||||
const embedModel =
|
const embedModel =
|
||||||
this.embedModel ?? this.vectorStores[type as ModalityType]?.embedModel;
|
this.vectorStores[type as ModalityType]?.embedModel ?? this.embedModel;
|
||||||
if (embedModel && nodes) {
|
if (embedModel && nodes) {
|
||||||
await embedModel(nodes, {
|
await embedModel(nodes, {
|
||||||
logProgress: options?.logProgress,
|
logProgress: options?.logProgress,
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
export { DeepSeekLLM } from "./deepseek.js";
|
|
||||||
export { FireworksLLM } from "./fireworks.js";
|
|
||||||
export * from "./openai.js";
|
|
||||||
export { TogetherLLM } from "./together.js";
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export * from "@llamaindex/openai";
|
|
||||||
@@ -1,13 +1,11 @@
|
|||||||
import { Document } from "@llamaindex/core/schema";
|
import { Document } from "@llamaindex/core/schema";
|
||||||
import { Settings } from "llamaindex";
|
import { OpenAI, OpenAIEmbedding, Settings } from "llamaindex";
|
||||||
import { OpenAIEmbedding } from "llamaindex/embeddings/index";
|
|
||||||
import {
|
import {
|
||||||
KeywordExtractor,
|
KeywordExtractor,
|
||||||
QuestionsAnsweredExtractor,
|
QuestionsAnsweredExtractor,
|
||||||
SummaryExtractor,
|
SummaryExtractor,
|
||||||
TitleExtractor,
|
TitleExtractor,
|
||||||
} from "llamaindex/extractors/index";
|
} from "llamaindex/extractors/index";
|
||||||
import { OpenAI } from "llamaindex/llm/openai";
|
|
||||||
import { SentenceSplitter } from "llamaindex/node-parser";
|
import { SentenceSplitter } from "llamaindex/node-parser";
|
||||||
import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
|
import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { describe, expect, test } from "vitest";
|
import { describe, expect, test } from "vitest";
|
||||||
// from unittest.mock import patch
|
// from unittest.mock import patch
|
||||||
|
|
||||||
import { OpenAI } from "llamaindex/llm/index";
|
import { OpenAI } from "llamaindex";
|
||||||
import { LLMSingleSelector } from "llamaindex/selectors/index";
|
import { LLMSingleSelector } from "llamaindex/selectors/index";
|
||||||
import { mocStructuredkLlmGeneration } from "./utility/mockOpenAI.js";
|
import { mocStructuredkLlmGeneration } from "./utility/mockOpenAI.js";
|
||||||
|
|
||||||
|
|||||||
@@ -20,13 +20,13 @@ describe("SummaryIndex", () => {
|
|||||||
let storageContext: StorageContext;
|
let storageContext: StorageContext;
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
storageContext = await storageContextFromDefaults({
|
|
||||||
persistDir: testDir,
|
|
||||||
});
|
|
||||||
|
|
||||||
const embedModel = new OpenAIEmbedding();
|
const embedModel = new OpenAIEmbedding();
|
||||||
mockEmbeddingModel(embedModel);
|
mockEmbeddingModel(embedModel);
|
||||||
Settings.embedModel = embedModel;
|
Settings.embedModel = embedModel;
|
||||||
|
|
||||||
|
storageContext = await storageContextFromDefaults({
|
||||||
|
persistDir: testDir,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { DocStoreStrategy } from "llamaindex/ingestion/strategies/index";
|
|||||||
import { mkdtemp, rm } from "node:fs/promises";
|
import { mkdtemp, rm } from "node:fs/promises";
|
||||||
import { tmpdir } from "node:os";
|
import { tmpdir } from "node:os";
|
||||||
import { join } from "node:path";
|
import { join } from "node:path";
|
||||||
import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
|
import { afterAll, beforeAll, describe, expect, it, test, vi } from "vitest";
|
||||||
|
|
||||||
const testDir = await mkdtemp(join(tmpdir(), "test-"));
|
const testDir = await mkdtemp(join(tmpdir(), "test-"));
|
||||||
|
|
||||||
@@ -24,6 +24,10 @@ describe("VectorStoreIndex", () => {
|
|||||||
) => Promise<Array<number>>;
|
) => Promise<Array<number>>;
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
|
const embedModel = new OpenAIEmbedding();
|
||||||
|
mockEmbeddingModel(embedModel);
|
||||||
|
Settings.embedModel = embedModel;
|
||||||
|
|
||||||
storageContext = await mockStorageContext(testDir);
|
storageContext = await mockStorageContext(testDir);
|
||||||
testStrategy = async (
|
testStrategy = async (
|
||||||
strategy: DocStoreStrategy,
|
strategy: DocStoreStrategy,
|
||||||
@@ -41,10 +45,6 @@ describe("VectorStoreIndex", () => {
|
|||||||
}
|
}
|
||||||
return entries;
|
return entries;
|
||||||
};
|
};
|
||||||
|
|
||||||
const embedModel = new OpenAIEmbedding();
|
|
||||||
mockEmbeddingModel(embedModel);
|
|
||||||
Settings.embedModel = embedModel;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
@@ -65,3 +65,28 @@ describe("VectorStoreIndex", () => {
|
|||||||
await rm(testDir, { recursive: true });
|
await rm(testDir, { recursive: true });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("[VectorStoreIndex] use embedding model", () => {
|
||||||
|
it("should use embedding model passed in options instead of Settings", async () => {
|
||||||
|
const documents = [new Document({ text: "This needs to be embedded" })];
|
||||||
|
|
||||||
|
// Create mock embedding models
|
||||||
|
const settingsEmbedModel = new OpenAIEmbedding();
|
||||||
|
const customEmbedModel = new OpenAIEmbedding();
|
||||||
|
|
||||||
|
// Mock the embedding models using the utility function
|
||||||
|
mockEmbeddingModel(settingsEmbedModel);
|
||||||
|
mockEmbeddingModel(customEmbedModel);
|
||||||
|
|
||||||
|
// Add spies to track calls
|
||||||
|
const settingsSpy = vi.spyOn(settingsEmbedModel, "getTextEmbeddings");
|
||||||
|
const customSpy = vi.spyOn(customEmbedModel, "getTextEmbeddings");
|
||||||
|
|
||||||
|
Settings.embedModel = settingsEmbedModel;
|
||||||
|
|
||||||
|
const storageContext = await mockStorageContext(testDir, customEmbedModel); // setup custom embedding model
|
||||||
|
await VectorStoreIndex.fromDocuments(documents, { storageContext });
|
||||||
|
expect(customSpy).toHaveBeenCalled();
|
||||||
|
expect(settingsSpy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import type { CallbackManager } from "@llamaindex/core/global";
|
import type { CallbackManager } from "@llamaindex/core/global";
|
||||||
import type { LLMChatParamsBase } from "llamaindex";
|
import type { LLMChatParamsBase, OpenAIEmbedding } from "llamaindex";
|
||||||
import { Settings } from "llamaindex";
|
import { OpenAI, Settings } from "llamaindex";
|
||||||
import type { OpenAIEmbedding } from "llamaindex/embeddings/OpenAIEmbedding";
|
|
||||||
import { OpenAI } from "llamaindex/llm/openai";
|
|
||||||
import { vi } from "vitest";
|
import { vi } from "vitest";
|
||||||
|
|
||||||
export const DEFAULT_LLM_TEXT_OUTPUT = "MOCK_TOKEN_1-MOCK_TOKEN_2";
|
export const DEFAULT_LLM_TEXT_OUTPUT = "MOCK_TOKEN_1-MOCK_TOKEN_2";
|
||||||
|
|||||||
@@ -1,14 +1,27 @@
|
|||||||
import { OpenAIEmbedding, storageContextFromDefaults } from "llamaindex";
|
import {
|
||||||
|
BaseEmbedding,
|
||||||
|
OpenAIEmbedding,
|
||||||
|
storageContextFromDefaults,
|
||||||
|
} from "llamaindex";
|
||||||
|
|
||||||
import { mockEmbeddingModel } from "./mockOpenAI.js";
|
import { mockEmbeddingModel } from "./mockOpenAI.js";
|
||||||
|
|
||||||
export async function mockStorageContext(testDir: string) {
|
export async function mockStorageContext(
|
||||||
|
testDir: string,
|
||||||
|
embeddingModel?: BaseEmbedding,
|
||||||
|
) {
|
||||||
const storageContext = await storageContextFromDefaults({
|
const storageContext = await storageContextFromDefaults({
|
||||||
persistDir: testDir,
|
persistDir: testDir,
|
||||||
});
|
});
|
||||||
for (const store of Object.values(storageContext.vectorStores)) {
|
for (const store of Object.values(storageContext.vectorStores)) {
|
||||||
store.embedModel = new OpenAIEmbedding();
|
if (embeddingModel) {
|
||||||
mockEmbeddingModel(store.embedModel as OpenAIEmbedding);
|
// use embeddingModel if it is passed in
|
||||||
|
store.embedModel = embeddingModel;
|
||||||
|
} else {
|
||||||
|
// mock an embedding model for testing
|
||||||
|
store.embedModel = new OpenAIEmbedding();
|
||||||
|
mockEmbeddingModel(store.embedModel as OpenAIEmbedding);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return storageContext;
|
return storageContext;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# @llamaindex/deepseek
|
||||||
|
|
||||||
|
## 0.0.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- bbc8c87: fix: prefer using embedding model from vector store
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"name": "@llamaindex/deepseek",
|
||||||
|
"description": "DeepSeek Adapter for LlamaIndex",
|
||||||
|
"version": "0.0.2",
|
||||||
|
"type": "module",
|
||||||
|
"main": "./dist/index.cjs",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.cts",
|
||||||
|
"default": "./dist/index.cjs"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
||||||
|
"directory": "packages/providers/deepseek"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "bunchee",
|
||||||
|
"dev": "bunchee --watch"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"bunchee": "6.3.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@llamaindex/env": "workspace:*",
|
||||||
|
"@llamaindex/openai": "workspace:*"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export * from "./llm";
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNext",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"tsBuildInfoFile": "./lib/.tsbuildinfo"
|
||||||
|
},
|
||||||
|
"include": ["./src"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../openai/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../env/tsconfig.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# @llamaindex/fireworks
|
||||||
|
|
||||||
|
## 0.0.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- bbc8c87: fix: prefer using embedding model from vector store
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"name": "@llamaindex/fireworks",
|
||||||
|
"description": "Fireworks Adapter for LlamaIndex",
|
||||||
|
"version": "0.0.2",
|
||||||
|
"type": "module",
|
||||||
|
"main": "./dist/index.cjs",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.cts",
|
||||||
|
"default": "./dist/index.cjs"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
||||||
|
"directory": "packages/providers/fireworks"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "bunchee",
|
||||||
|
"dev": "bunchee --watch"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"bunchee": "6.3.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@llamaindex/env": "workspace:*",
|
||||||
|
"@llamaindex/openai": "workspace:*"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
export * from "./embedding";
|
||||||
|
export * from "./llm";
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNext",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"tsBuildInfoFile": "./lib/.tsbuildinfo"
|
||||||
|
},
|
||||||
|
"include": ["./src"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../openai/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../env/tsconfig.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# @llamaindex/google
|
# @llamaindex/google
|
||||||
|
|
||||||
|
## 0.0.14
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 7ee4968: Add Gemini 2.0 Pro Experimental
|
||||||
|
|
||||||
## 0.0.13
|
## 0.0.13
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/google",
|
"name": "@llamaindex/google",
|
||||||
"description": "Google Adapter for LlamaIndex",
|
"description": "Google Adapter for LlamaIndex",
|
||||||
"version": "0.0.13",
|
"version": "0.0.14",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.cjs",
|
||||||
"module": "./dist/index.js",
|
"module": "./dist/index.js",
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ export const GEMINI_MODEL_INFO_MAP: Record<GEMINI_MODEL, GeminiModelInfo> = {
|
|||||||
[GEMINI_MODEL.GEMINI_2_0_FLASH]: { contextWindow: 10 ** 6 },
|
[GEMINI_MODEL.GEMINI_2_0_FLASH]: { contextWindow: 10 ** 6 },
|
||||||
[GEMINI_MODEL.GEMINI_2_0_FLASH_LITE_PREVIEW]: { contextWindow: 10 ** 6 },
|
[GEMINI_MODEL.GEMINI_2_0_FLASH_LITE_PREVIEW]: { contextWindow: 10 ** 6 },
|
||||||
[GEMINI_MODEL.GEMINI_2_0_FLASH_THINKING_EXP]: { contextWindow: 32768 },
|
[GEMINI_MODEL.GEMINI_2_0_FLASH_THINKING_EXP]: { contextWindow: 32768 },
|
||||||
|
[GEMINI_MODEL.GEMINI_2_0_PRO_EXPERIMENTAL]: { contextWindow: 2 * 10 ** 6 },
|
||||||
};
|
};
|
||||||
|
|
||||||
const SUPPORT_TOOL_CALL_MODELS: GEMINI_MODEL[] = [
|
const SUPPORT_TOOL_CALL_MODELS: GEMINI_MODEL[] = [
|
||||||
@@ -72,6 +73,7 @@ const SUPPORT_TOOL_CALL_MODELS: GEMINI_MODEL[] = [
|
|||||||
GEMINI_MODEL.GEMINI_PRO_1_5_FLASH_LATEST,
|
GEMINI_MODEL.GEMINI_PRO_1_5_FLASH_LATEST,
|
||||||
GEMINI_MODEL.GEMINI_2_0_FLASH_EXPERIMENTAL,
|
GEMINI_MODEL.GEMINI_2_0_FLASH_EXPERIMENTAL,
|
||||||
GEMINI_MODEL.GEMINI_2_0_FLASH,
|
GEMINI_MODEL.GEMINI_2_0_FLASH,
|
||||||
|
GEMINI_MODEL.GEMINI_2_0_PRO_EXPERIMENTAL,
|
||||||
];
|
];
|
||||||
|
|
||||||
const DEFAULT_GEMINI_PARAMS = {
|
const DEFAULT_GEMINI_PARAMS = {
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export enum GEMINI_MODEL {
|
|||||||
GEMINI_2_0_FLASH = "gemini-2.0-flash-001",
|
GEMINI_2_0_FLASH = "gemini-2.0-flash-001",
|
||||||
GEMINI_2_0_FLASH_LITE_PREVIEW = "gemini-2.0-flash-lite-preview-02-05",
|
GEMINI_2_0_FLASH_LITE_PREVIEW = "gemini-2.0-flash-lite-preview-02-05",
|
||||||
GEMINI_2_0_FLASH_THINKING_EXP = "gemini-2.0-flash-thinking-exp-01-21",
|
GEMINI_2_0_FLASH_THINKING_EXP = "gemini-2.0-flash-thinking-exp-01-21",
|
||||||
|
GEMINI_2_0_PRO_EXPERIMENTAL = "gemini-2.0-pro-exp-02-05",
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GeminiModelInfo {
|
export interface GeminiModelInfo {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# @llamaindex/jinaai
|
||||||
|
|
||||||
|
## 0.0.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- bbc8c87: fix: prefer using embedding model from vector store
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"name": "@llamaindex/jinaai",
|
||||||
|
"description": "JinaAI Adapter for LlamaIndex",
|
||||||
|
"version": "0.0.2",
|
||||||
|
"type": "module",
|
||||||
|
"main": "./dist/index.cjs",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.cts",
|
||||||
|
"default": "./dist/index.cjs"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
||||||
|
"directory": "packages/providers/jinaai"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "bunchee",
|
||||||
|
"dev": "bunchee --watch"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"bunchee": "6.3.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@llamaindex/core": "workspace:*",
|
||||||
|
"@llamaindex/env": "workspace:*",
|
||||||
|
"@llamaindex/openai": "workspace:*"
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
import { MultiModalEmbedding } from "@llamaindex/core/embeddings";
|
import { MultiModalEmbedding } from "@llamaindex/core/embeddings";
|
||||||
|
import type { ImageType } from "@llamaindex/core/schema";
|
||||||
|
import { imageToDataUrl } from "@llamaindex/core/utils";
|
||||||
import { getEnv } from "@llamaindex/env";
|
import { getEnv } from "@llamaindex/env";
|
||||||
import { imageToDataUrl } from "../internal/utils.js";
|
|
||||||
import type { ImageType } from "../Node.js";
|
|
||||||
|
|
||||||
function isLocal(url: ImageType): boolean {
|
function isLocal(url: ImageType): boolean {
|
||||||
if (url instanceof Blob) return true;
|
if (url instanceof Blob) return true;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export * from "./embedding";
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNext",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"tsBuildInfoFile": "./lib/.tsbuildinfo"
|
||||||
|
},
|
||||||
|
"include": ["./src"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../openai/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../env/tsconfig.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# @llamaindex/together
|
||||||
|
|
||||||
|
## 0.0.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- bbc8c87: fix: prefer using embedding model from vector store
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"name": "@llamaindex/together",
|
||||||
|
"description": "Together Adapter for LlamaIndex",
|
||||||
|
"version": "0.0.2",
|
||||||
|
"type": "module",
|
||||||
|
"main": "./dist/index.cjs",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.cts",
|
||||||
|
"default": "./dist/index.cjs"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
||||||
|
"directory": "packages/providers/together"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "bunchee",
|
||||||
|
"dev": "bunchee --watch"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"bunchee": "6.3.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@llamaindex/env": "workspace:*",
|
||||||
|
"@llamaindex/openai": "workspace:*"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
export * from "./embedding";
|
||||||
|
export * from "./llm";
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNext",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"tsBuildInfoFile": "./lib/.tsbuildinfo"
|
||||||
|
},
|
||||||
|
"include": ["./src"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../../core/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../env/tsconfig.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# @llamaindex/workflow
|
# @llamaindex/workflow
|
||||||
|
|
||||||
|
## 0.0.14
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 4b49428: fix agent workflow tool calls for Ollama
|
||||||
|
|
||||||
## 0.0.13
|
## 0.0.13
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/workflow",
|
"name": "@llamaindex/workflow",
|
||||||
"description": "Workflow API",
|
"description": "Workflow API",
|
||||||
"version": "0.0.13",
|
"version": "0.0.14",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"module": "dist/index.js",
|
"module": "dist/index.js",
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ export class FunctionAgent implements BaseWorkflowAgent {
|
|||||||
});
|
});
|
||||||
let response = "";
|
let response = "";
|
||||||
let lastChunk: ChatResponseChunk | undefined;
|
let lastChunk: ChatResponseChunk | undefined;
|
||||||
|
const toolCalls: Map<string, AgentToolCall> = new Map();
|
||||||
for await (const chunk of responseStream) {
|
for await (const chunk of responseStream) {
|
||||||
response += chunk.delta;
|
response += chunk.delta;
|
||||||
ctx.sendEvent(
|
ctx.sendEvent(
|
||||||
@@ -106,7 +107,13 @@ export class FunctionAgent implements BaseWorkflowAgent {
|
|||||||
raw: chunk.raw,
|
raw: chunk.raw,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
lastChunk = chunk;
|
const toolCallsInChunk = this.getToolCallFromResponseChunk(chunk);
|
||||||
|
if (toolCallsInChunk.length > 0) {
|
||||||
|
// Just upsert the tool calls with the latest one if they exist
|
||||||
|
toolCallsInChunk.forEach((toolCall) => {
|
||||||
|
toolCalls.set(toolCall.data.toolId, toolCall);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const message: ChatMessage = {
|
const message: ChatMessage = {
|
||||||
@@ -114,12 +121,9 @@ export class FunctionAgent implements BaseWorkflowAgent {
|
|||||||
content: response,
|
content: response,
|
||||||
};
|
};
|
||||||
|
|
||||||
const toolCalls = lastChunk
|
if (toolCalls.size > 0) {
|
||||||
? this.getToolCallFromResponseChunk(lastChunk)
|
|
||||||
: [];
|
|
||||||
if (toolCalls.length > 0) {
|
|
||||||
message.options = {
|
message.options = {
|
||||||
toolCall: toolCalls.map((toolCall) => ({
|
toolCall: Array.from(toolCalls.values()).map((toolCall) => ({
|
||||||
name: toolCall.data.toolName,
|
name: toolCall.data.toolName,
|
||||||
input: toolCall.data.toolKwargs,
|
input: toolCall.data.toolKwargs,
|
||||||
id: toolCall.data.toolId,
|
id: toolCall.data.toolId,
|
||||||
@@ -130,7 +134,7 @@ export class FunctionAgent implements BaseWorkflowAgent {
|
|||||||
ctx.data.scratchpad = scratchpad;
|
ctx.data.scratchpad = scratchpad;
|
||||||
return new AgentOutput({
|
return new AgentOutput({
|
||||||
response: message,
|
response: message,
|
||||||
toolCalls,
|
toolCalls: Array.from(toolCalls.values()),
|
||||||
raw: lastChunk?.raw,
|
raw: lastChunk?.raw,
|
||||||
currentAgentName: this.name,
|
currentAgentName: this.name,
|
||||||
});
|
});
|
||||||
|
|||||||
Generated
+70
-3
@@ -622,14 +622,20 @@ importers:
|
|||||||
'@llamaindex/deepinfra':
|
'@llamaindex/deepinfra':
|
||||||
specifier: ^0.0.42
|
specifier: ^0.0.42
|
||||||
version: link:../packages/providers/deepinfra
|
version: link:../packages/providers/deepinfra
|
||||||
|
'@llamaindex/deepseek':
|
||||||
|
specifier: ^0.0.2
|
||||||
|
version: link:../packages/providers/deepseek
|
||||||
'@llamaindex/env':
|
'@llamaindex/env':
|
||||||
specifier: ^0.1.29
|
specifier: ^0.1.29
|
||||||
version: link:../packages/env
|
version: link:../packages/env
|
||||||
'@llamaindex/firestore':
|
'@llamaindex/firestore':
|
||||||
specifier: ^1.0.4
|
specifier: ^1.0.4
|
||||||
version: link:../packages/providers/storage/firestore
|
version: link:../packages/providers/storage/firestore
|
||||||
|
'@llamaindex/fireworks':
|
||||||
|
specifier: ^0.0.2
|
||||||
|
version: link:../packages/providers/fireworks
|
||||||
'@llamaindex/google':
|
'@llamaindex/google':
|
||||||
specifier: ^0.0.13
|
specifier: ^0.0.14
|
||||||
version: link:../packages/providers/google
|
version: link:../packages/providers/google
|
||||||
'@llamaindex/groq':
|
'@llamaindex/groq':
|
||||||
specifier: ^0.0.57
|
specifier: ^0.0.57
|
||||||
@@ -637,6 +643,9 @@ importers:
|
|||||||
'@llamaindex/huggingface':
|
'@llamaindex/huggingface':
|
||||||
specifier: ^0.0.42
|
specifier: ^0.0.42
|
||||||
version: link:../packages/providers/huggingface
|
version: link:../packages/providers/huggingface
|
||||||
|
'@llamaindex/jinaai':
|
||||||
|
specifier: ^0.0.2
|
||||||
|
version: link:../packages/providers/jinaai
|
||||||
'@llamaindex/milvus':
|
'@llamaindex/milvus':
|
||||||
specifier: ^0.1.6
|
specifier: ^0.1.6
|
||||||
version: link:../packages/providers/storage/milvus
|
version: link:../packages/providers/storage/milvus
|
||||||
@@ -676,6 +685,9 @@ importers:
|
|||||||
'@llamaindex/replicate':
|
'@llamaindex/replicate':
|
||||||
specifier: ^0.0.39
|
specifier: ^0.0.39
|
||||||
version: link:../packages/providers/replicate
|
version: link:../packages/providers/replicate
|
||||||
|
'@llamaindex/together':
|
||||||
|
specifier: ^0.0.2
|
||||||
|
version: link:../packages/providers/together
|
||||||
'@llamaindex/upstash':
|
'@llamaindex/upstash':
|
||||||
specifier: ^0.0.11
|
specifier: ^0.0.11
|
||||||
version: link:../packages/providers/storage/upstash
|
version: link:../packages/providers/storage/upstash
|
||||||
@@ -692,7 +704,7 @@ importers:
|
|||||||
specifier: ^0.0.11
|
specifier: ^0.0.11
|
||||||
version: link:../packages/providers/storage/weaviate
|
version: link:../packages/providers/storage/weaviate
|
||||||
'@llamaindex/workflow':
|
'@llamaindex/workflow':
|
||||||
specifier: ^0.0.13
|
specifier: ^0.0.14
|
||||||
version: link:../packages/workflow
|
version: link:../packages/workflow
|
||||||
'@notionhq/client':
|
'@notionhq/client':
|
||||||
specifier: ^2.2.15
|
specifier: ^2.2.15
|
||||||
@@ -719,7 +731,7 @@ importers:
|
|||||||
specifier: ^1.0.14
|
specifier: ^1.0.14
|
||||||
version: 1.0.18
|
version: 1.0.18
|
||||||
llamaindex:
|
llamaindex:
|
||||||
specifier: ^0.9.7
|
specifier: ^0.9.8
|
||||||
version: link:../packages/llamaindex
|
version: link:../packages/llamaindex
|
||||||
mongodb:
|
mongodb:
|
||||||
specifier: 6.7.0
|
specifier: 6.7.0
|
||||||
@@ -1218,6 +1230,32 @@ importers:
|
|||||||
specifier: 6.3.4
|
specifier: 6.3.4
|
||||||
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
|
packages/providers/deepseek:
|
||||||
|
dependencies:
|
||||||
|
'@llamaindex/env':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../env
|
||||||
|
'@llamaindex/openai':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../openai
|
||||||
|
devDependencies:
|
||||||
|
bunchee:
|
||||||
|
specifier: 6.3.4
|
||||||
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
|
packages/providers/fireworks:
|
||||||
|
dependencies:
|
||||||
|
'@llamaindex/env':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../env
|
||||||
|
'@llamaindex/openai':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../openai
|
||||||
|
devDependencies:
|
||||||
|
bunchee:
|
||||||
|
specifier: 6.3.4
|
||||||
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
packages/providers/google:
|
packages/providers/google:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@google-cloud/vertexai':
|
'@google-cloud/vertexai':
|
||||||
@@ -1275,6 +1313,22 @@ importers:
|
|||||||
specifier: 6.3.4
|
specifier: 6.3.4
|
||||||
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
|
packages/providers/jinaai:
|
||||||
|
dependencies:
|
||||||
|
'@llamaindex/core':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../core
|
||||||
|
'@llamaindex/env':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../env
|
||||||
|
'@llamaindex/openai':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../openai
|
||||||
|
devDependencies:
|
||||||
|
bunchee:
|
||||||
|
specifier: 6.3.4
|
||||||
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
packages/providers/mistral:
|
packages/providers/mistral:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@llamaindex/core':
|
'@llamaindex/core':
|
||||||
@@ -1607,6 +1661,19 @@ importers:
|
|||||||
specifier: 6.3.4
|
specifier: 6.3.4
|
||||||
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
|
packages/providers/together:
|
||||||
|
dependencies:
|
||||||
|
'@llamaindex/env':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../env
|
||||||
|
'@llamaindex/openai':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../openai
|
||||||
|
devDependencies:
|
||||||
|
bunchee:
|
||||||
|
specifier: 6.3.4
|
||||||
|
version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3)
|
||||||
|
|
||||||
packages/providers/vercel:
|
packages/providers/vercel:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@llamaindex/core':
|
'@llamaindex/core':
|
||||||
|
|||||||
@@ -175,6 +175,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./packages/providers/voyage-ai/tsconfig.json"
|
"path": "./packages/providers/voyage-ai/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./packages/providers/deepseek/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./packages/providers/fireworks/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./packages/providers/together/tsconfig.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./packages/providers/jinaai/tsconfig.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
# @llamaindex/unit-test
|
# @llamaindex/unit-test
|
||||||
|
|
||||||
|
## 0.1.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4b49428]
|
||||||
|
- Updated dependencies [bbc8c87]
|
||||||
|
- @llamaindex/workflow@0.0.14
|
||||||
|
- llamaindex@0.9.8
|
||||||
|
|
||||||
## 0.1.7
|
## 0.1.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@llamaindex/unit-test",
|
"name": "@llamaindex/unit-test",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.7",
|
"version": "0.1.8",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest run"
|
"test": "vitest run"
|
||||||
|
|||||||
Reference in New Issue
Block a user