Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with chapters. chapters.0.gist Field required #103

Open
timaakulich opened this issue Dec 17, 2024 · 1 comment
Open

Problem with chapters. chapters.0.gist Field required #103

timaakulich opened this issue Dec 17, 2024 · 1 comment
Labels
kind/bug Something isn't working triage/needs-investigation Issue needs investigation before it can be confirmed.

Comments

@timaakulich
Copy link

When i'm getting info about transcribe I got error:

pydantic_core._pydantic_core.ValidationError: 1 validation error for TranscriptResponse
chapters.0.gist
  Field required [type=missing, input_value={'summary': 'Bla bla', 'start': 1200, 'end': 5960}, input_type=dict]

When I checked response json I got:

{..., 'chapters': [{'summary': 'Bla bla': 'Allah, allah, allah.', 'start': 1200, 'end': 5960}], ...}

without gist key

Code:

aai.Transcript(transcript_id).wait_for_completion()

Transcribe id: a38670a7-7acc-468b-878c-4c2fd0b1d48d

@marcusolsson
Copy link

Thank you for letting us know. I will try and reproduce this.

@marcusolsson marcusolsson added kind/bug Something isn't working triage/needs-investigation Issue needs investigation before it can be confirmed. labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/needs-investigation Issue needs investigation before it can be confirmed.
Projects
None yet
Development

No branches or pull requests

2 participants