We already know that the Federation seems to struggle when it comes to things that are non-humanoid, and non-organic, especially if they originated from Federation technology.
But we also see that there are progressive elements. Both the Doctor and Data have a fairly healthy heaping of support, once some form of personhood was established for them.
But does that attitude extend to non-organics that the Federation isn’t familiar with?
For the other side, Federation attitudes towards Data, the Voyager’s EMH, and the ExoComps weren’t all that favourable. Both the EMH and the ExoComp’s burgeoning sapience were treated as simple malfunctions, that could be resolved be constant factory resets, or in the case of the ExoComps, lobotomisation/resetting of their control circuitry, effectively killing the ExoComp, and putting the Doctor back to a blank slate (in theory).
There have been some documented cases where the Federation meets some mechanical beings, which were treated as sapient beings in their own right, but does that treatment extend to other non-organic beings? Or do you have to be “acceptable” as a humanoid to be treated as one?