Chore/upgrade llamaindex version (#2440)

* updates to loader to support file upload

* adding a todo

* upgrade llamaindex

* update groq icon

* update azure models

* update llamaindex version

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
Vinod Kiran
2024-05-22 18:05:08 +05:30
committed by GitHub
parent e83dcb01b8
commit ff2381741e
22 changed files with 1340 additions and 297 deletions
@@ -6,8 +6,8 @@ import {
TreeSummarize,
Refine,
SimpleResponseBuilder,
BaseNode,
Metadata
Metadata,
NodeWithScore
} from 'llamaindex'
import { reformatSourceDocuments } from '../EngineUtils'
@@ -69,7 +69,7 @@ class QueryEngine_LlamaIndex implements INode {
let text = ''
let sourceDocuments: ICommonObject[] = []
let sourceNodes: BaseNode<Metadata>[] = []
let sourceNodes: NodeWithScore<Metadata>[] = []
let isStreamingStarted = false
const isStreamingEnabled = options.socketIO && options.socketIOClientId