Class: LlamaParseReader
Represents a reader for parsing files using the LlamaParse API. See https://github.com/run-llama/llama_parse
Extends
Constructors
new LlamaParseReader()
new LlamaParseReader(
params
):LlamaParseReader
Parameters
• params: Partial
<LlamaParseReader
>= {}
Returns
Overrides
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:143
Properties
apiKey
apiKey:
string
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:110
baseUrl
baseUrl:
string
="https://api.cloud.llamaindex.ai/api/parsing"
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:112
checkInterval
checkInterval:
number
=1
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:116
doNotCache?
optional
doNotCache:boolean
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:130
doNotUnrollColumns?
optional
doNotUnrollColumns:boolean
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:134
fastMode?
optional
fastMode:boolean
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:132
gpt4oApiKey?
optional
gpt4oApiKey:string
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:140
gpt4oMode
gpt4oMode:
boolean
=false
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:138
invalidateCache?
optional
invalidateCache:boolean
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:128
language
language:
Language
="en"
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:122
maxTimeout
maxTimeout:
number
=2000
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:118
pageSeperator?
optional
pageSeperator:string
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:136
parsingInstruction?
optional
parsingInstruction:string
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:124
resultType
resultType:
ResultType
="text"
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:114
skipDiagonalText?
optional
skipDiagonalText:boolean
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:126
verbose
verbose:
boolean
=true
Source
packages/llamaindex/src/readers/LlamaParseReader.ts:120