Skip to content

【Error】Raise ValueError(f"Document is too long") ValueError: Document is too long #130

@LeeChunJun

Description

@LeeChunJun

many times error!!

❌ Failed to import 2108.07258v1.
Stdout: 🍭 Running import pipeline locally...

fetch_arxiv_metadata took: 1.15s
Calling Gemini with schema, prompt: 'You are an expert academic assistant tasked with extracting key concepts and terms
from research paper abstracts. For each concept, provide its name and two content items:
1. A general definit...'
Gemini with schema call took: 7.81s
extract_concepts took: 7.88s

Stderr: Traceback (most recent call last):
File "/Users/xxxxx/depoly/lumi/scripts/../functions/script_local_import.py", line 77, in
lumi_doc, _ = import_pipeline.import_arxiv_latex_and_pdf(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxxxx/depoly/lumi/functions/import_pipeline/import_pipeline.py", line 106, in import_arxiv_latex_and_pdf
raise ValueError(f"Document is too long")
ValueError: Document is too long


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions