Welcome to the Wefugees Community and thank you for reaching out to us.
As your "Ausbildung" in Germany is almost completed, I was thinking about the option for you to apply for a residence permit according to §18a of the Residence law. We discussed the requirements and details already a few times on this platform. You may want to check the following thread or also this discussion with similar content for more information.
I will also link two of our wonderful experts here: Dear @manrhei-mbeon and @mbeon-Christine, Is there anything you may want to add?
I hope this helps and please don't hesitate to get back to us with any further questions.
All the best,