google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.39k stars 270 forks source link

Deadline Exceeded Error in DocumentServiceClient with updateDocument in discoveringengine #534

Open Sami-80 opened 1 week ago

Sami-80 commented 1 week ago

Description of the feature request:

I am encountering a DEADLINE_EXCEEDED error while using the updateDocument method in the DocumentServiceClient of the discoveringengine service. This issue is preventing me from updating documents within the Discovery Engine in a timely manner, impacting the overall functionality of my application.

export async function createDoc(body: any) { await docService.updateDocument( { allowMissing: true, document: { name: project, jsonData: JSON.stringify(body), }, }, ); }

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

manojssmk commented 1 week ago

Hi @Sami-80

Could you please elaborate on the issue that you are facing and please let us know how this is related to Gemini API.

Thanks