Skip to content

Adding a timer helped in getting proper answer from the first file id's uploaded #8

@CSantosPT71

Description

@CSantosPT71

Hi Master Tanaike,

I'm using geminiWithFiles a "complicated" jsonSchema, it has been working well, i fed chunks of 15 as a test for smaller chunks and better results, I persistently could not process the last 15 id's that remained on the list and the first chunk always failed a lot of returned results in processes of various chunks until only the first 15 persistently remained.

Adding a 10 secs wait timer between upload and generate content really helped in solving this.

I am now using chunks of 25.

Million thanks for all the knowledge you share.

All the very best,

Carlos Santos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions