BTi (bacillus thuringiensis israelensis) will kill gnats, particularly fungus gnats but also other species. It also kills blackflies, and we’re using it on the property this year. The most commonly available application is mosquito bits, but there are also liquid applications like the below:
https://www.arbico-organics.com/cate…is-israelensis
This is a very effective treatment, harmless to mammals and most other insects, and is naturally occurring in the environment. It also isn’t terribly expensive.
I’ll give more information once it gets warmer on what specifically it controls for us in particular, but it should kill most diptherans including biting gnats, and will not harm fly predators.