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.23k stars 236 forks source link

RECITATION error when transcribe audio to text #336

Open nzomkxia opened 2 months ago

nzomkxia commented 2 months ago

Description of the bug:

result=glm.GenerateContentResponse({'candidates': [{'finish_reason': 4, 'index': 0, 'safety_ratings': [], 'token_count': 0, 'grounding_attributions': []}]}),

Actual vs expected behavior:

transcribe the audio correctly

Any other information you'd like to share?

model: gemini-1.5-pro-latest audio length: 53 min audio format: mp3 audio file size: 13m

MarkDaoust commented 2 months ago

This is a known issue, the eng team is working on improving this.

yc1999 commented 2 months ago

Have you finished this issue?