You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting this error on MAC system (Apple) based on the code below: -
def _llama_parser(self, file_path):
"""
Function for extracting full text from a local PDF using Llama Parser
"""
parser = LlamaParse(
api_key=self.api_key,
result_type="markdown", # "markdown" and "text" are available
verbose=True,
language="en"
)
file_extractor = {".pdf": parser}
documents = SimpleDirectoryReader(input_files=[file_path], file_extractor=file_extractor).load_data()
return documents[0].text
The text was updated successfully, but these errors were encountered:
getting this error on MAC system (Apple) based on the code below: -
The text was updated successfully, but these errors were encountered: