Skip to content
Snippets Groups Projects
Unverified Commit ab700ea5 authored by Marcus Schiesser's avatar Marcus Schiesser Committed by GitHub
Browse files

fix: Add missing authentication to LlamaCloudIndex.fromDocuments (#1055)

parent e775afc3
Branches
No related merge requests found
---
"llamaindex": patch
---
Add missing authentication to LlamaCloudIndex.fromDocuments
...@@ -151,6 +151,7 @@ export class LlamaCloudIndex { ...@@ -151,6 +151,7 @@ export class LlamaCloudIndex {
verbose?: boolean; verbose?: boolean;
} & CloudConstructorParams, } & CloudConstructorParams,
): Promise<LlamaCloudIndex> { ): Promise<LlamaCloudIndex> {
initService(params);
const defaultTransformations: TransformComponent<any>[] = [ const defaultTransformations: TransformComponent<any>[] = [
new SimpleNodeParser(), new SimpleNodeParser(),
new OpenAIEmbedding({ new OpenAIEmbedding({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment