Compare commits

...

4 Commits

Author SHA1 Message Date
github-actions[bot] 394e797567 Release 0.4.5 (#979)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-26 17:42:19 +07:00
Parham Saidi 6c3e5d08b8 fix: switch to correct reference for a static function (#978) 2024-06-26 17:35:22 +07:00
github-actions[bot] 6e19482814 Release 0.4.4 (#977)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-26 14:46:48 +07:00
Marcus Schiesser 42eb73a08f fix: IngestionPipeline not working without vectorStores (#976) 2024-06-26 14:30:58 +07:00
24 changed files with 159 additions and 17 deletions
+14
View File
@@ -1,5 +1,19 @@
# docs
## 0.0.31
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.30
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.29
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.0.29",
"version": "0.0.31",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -1,5 +1,21 @@
# @llamaindex/autotool-02-next-example
## 0.1.15
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
- @llamaindex/autotool@1.0.0
## 0.1.14
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
- @llamaindex/autotool@1.0.0
## 0.1.13
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/autotool-02-next-example",
"private": true,
"version": "0.1.13",
"version": "0.1.15",
"scripts": {
"dev": "next dev",
"build": "next build",
+1 -1
View File
@@ -51,7 +51,7 @@
"unplugin": "^1.10.1"
},
"peerDependencies": {
"llamaindex": "^0.4.3",
"llamaindex": "^0.4.5",
"openai": "^4",
"typescript": "^4"
},
+14
View File
@@ -1,5 +1,19 @@
# @llamaindex/community
## 0.0.9
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.8
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.7
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/community",
"description": "Community package for LlamaIndexTS",
"version": "0.0.7",
"version": "0.0.9",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
+14
View File
@@ -1,5 +1,19 @@
# @llamaindex/experimental
## 0.0.40
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.39
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.38
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/experimental",
"description": "Experimental package for LlamaIndexTS",
"version": "0.0.38",
"version": "0.0.40",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
+12
View File
@@ -1,5 +1,17 @@
# llamaindex
## 0.4.5
### Patch Changes
- 6c3e5d0: fix: switch to correct reference for a static function
## 0.4.4
### Patch Changes
- 42eb73a: Fix IngestionPipeline not working without vectorStores
## 0.4.3
### Patch Changes
@@ -1,5 +1,19 @@
# @llamaindex/cloudflare-worker-agent-test
## 0.0.24
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.23
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.22
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/cloudflare-worker-agent-test",
"version": "0.0.22",
"version": "0.0.24",
"type": "module",
"private": true,
"scripts": {
@@ -1,5 +1,19 @@
# @llamaindex/next-agent-test
## 0.1.24
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.1.23
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.1.22
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-agent-test",
"version": "0.1.22",
"version": "0.1.24",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,19 @@
# test-edge-runtime
## 0.1.23
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.1.22
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.1.21
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/nextjs-edge-runtime-test",
"version": "0.1.21",
"version": "0.1.23",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,19 @@
# @llamaindex/next-node-runtime
## 0.0.5
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.4
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.3
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-node-runtime-test",
"version": "0.0.3",
"version": "0.0.5",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,19 @@
# @llamaindex/waku-query-engine-test
## 0.0.24
### Patch Changes
- Updated dependencies [6c3e5d0]
- llamaindex@0.4.5
## 0.0.23
### Patch Changes
- Updated dependencies [42eb73a]
- llamaindex@0.4.4
## 0.0.22
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/waku-query-engine-test",
"version": "0.0.22",
"version": "0.0.24",
"type": "module",
"private": true,
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/llamaindex",
"version": "0.4.3",
"version": "0.4.5",
"exports": "./src/index.ts",
"imports": {
"@llamaindex/env": "jsr:@llamaindex/env@0.1.6"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "llamaindex",
"version": "0.4.3",
"version": "0.4.5",
"license": "MIT",
"type": "module",
"keywords": [
+1 -1
View File
@@ -64,7 +64,7 @@ export class EngineResponse implements ChatResponse, ChatResponseChunk {
sourceNodes?: NodeWithScore[],
): EngineResponse {
return new EngineResponse(
this.toChatResponse(chunk.delta, chunk.raw),
EngineResponse.toChatResponse(chunk.delta, chunk.raw),
true,
sourceNodes,
);
@@ -77,13 +77,15 @@ export class IngestionPipeline {
if (!this.docStore) {
this.docStoreStrategy = DocStoreStrategy.NONE;
}
this.vectorStores = this.vectorStores ?? {
[ModalityType.TEXT]: this.vectorStore,
};
this.vectorStores =
this.vectorStores ??
(this.vectorStore
? { [ModalityType.TEXT]: this.vectorStore }
: undefined);
this._docStoreStrategy = createDocStoreStrategy(
this.docStoreStrategy,
this.docStore,
Object.values(this.vectorStores),
this.vectorStores ? Object.values(this.vectorStores) : undefined,
);
if (!this.disableCache) {
this.cache = new IngestionCache();