Compare commits

...

2 Commits

Author SHA1 Message Date
Emanuel Ferreira 8f758f3212 changeset 2024-03-28 16:14:31 -03:00
Emanuel Ferreira 25b47b6ee2 feat: add result type json 2024-03-28 16:11:33 -03:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"llamaindex": patch
---
feat: add result type json
@@ -3,7 +3,7 @@ import { filetypemime } from "magic-bytes.js";
import { Document } from "../Node.js";
import type { FileReader } from "./type.js";
type ResultType = "text" | "markdown";
type ResultType = "text" | "markdown" | "json";
/**
* Represents a reader for parsing files using the LlamaParse API.