In any case, add fresh food daily. Being a new item in the cage, pellets are not likely identified immediately as food. Slowly wean the bird off seeds over a period of weeks while having pellets constantly available in a separate dish. Some people mix the pellets in a reduced amount of seed, which may aid its acceptance in the cage, but rest assured, the bird will not accidentally eat a pellet. It may take days, weeks or months to modify a bird's diet.
Birds are stubborn, but can be trained.
Remember, you train the bird, do not let it train you. Consult your veterinarian if encountering any problems with this transformation or the health of the bird. This can be a stressful time for you and your parrot. As a general rule regarding food offered to a bird, any wholesome, nutritious food that you and your family eat, your bird can eat. Avocado is reported to be potentially toxic.