Skip to content

Commit

Permalink
Merge pull request #74 from upstash/hotfix-rsc
Browse files Browse the repository at this point in the history
fix: rsc not working because of llamaindex
  • Loading branch information
ytkimirti authored Sep 16, 2024
2 parents a34d388 + 3163d0c commit fa59883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { DEFAULT_SIMILARITY_THRESHOLD, DEFAULT_TOP_K } from "./constants";
import { FileDataLoader } from "./file-loader";
import type { AddContextOptions } from "./types";
import type { UnstructuredLoaderOptions } from "@langchain/community/document_loaders/fs/unstructured";
import type { LlamaParseReader } from "llamaindex";
import type { LlamaParseReader } from "llamaindex/readers/LlamaParseReader";

export type FilePath = string;
export type URL = string;
Expand Down
2 changes: 1 addition & 1 deletion src/file-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { RecursiveCharacterTextSplitter } from "langchain/text_splitter";
import { nanoid } from "nanoid";
import { UnstructuredClient } from "unstructured-client";
import type { DatasWithFileSource, FilePath, ProcessorType, URL } from "./database";
import { LlamaParseReader } from "llamaindex";
import { LlamaParseReader } from "llamaindex/readers/LlamaParseReader";

type Element = {
type: string;
Expand Down

0 comments on commit fa59883

Please sign in to comment.