alkali metal in ammonia is the dissolving metal reduction and it's for alkynes.
diamino silver is used in the tollens' test to test for a reducing sugar. diamino silver is formed by reacting silver nitrate solution with sodium hydroxide to ppt out silver oxide, to which ammonia solution is added, which complexes the silver ion to form diamino silver.