GPTs Aiogram learning help

Good day to everyone. Please tell me, I’m a beginner. I want to train GPTs so that it understands the Aiogram 3.1.1 library (by default, GPT gives me the code for the aiogram 2.xx version). I tried to upload the documentation in .pdf format to Knowledge - but it didn’t work. Show a small example of what you need to upload to “knowledge” or what commands you need to register. Thank you very much.

Is it true that I need to create aiogram 3.1.1 code examples myself and load the gpts training file into json?