GPT-4o issue with YouTube link parsing

Hello,

I am using GPT-4o API to generate lesson plans using YouTube videos or external articles.

My prompt is working fine with external article URLs. But for YouTube links, I can’t figure out the issue. I am also facing something weird:

  • When I put the URL received from YT search results, the OpenAI response is fine. These links contain the pp parameter.
    Example: https://www.youtube.com/watch?v=t5DvF5OVr1Y&pp=ygUMY2VsbCBiaW9sb2d5
  • When I put a regular YT URL, the OpenAI response is random. It parses a random YT video. Does not work.
    Example: https://www.youtube.com/watch?v=t5DvF5OVr1Y

Why is the full URL with the pp paramter working only?

Any help on this? Thank you in advance.

Welcome to the dev forum @azmainadel_monsha

As of now, gpt-4o or any of the other models on the API do not have access to the internet.

It’s likely what you’re seeing is the model confabulating based on the prompt.

2 Likes