Where to find it
Settings → System → Dictation preferences
Step by step
Open System → Dictation preferences and read Context awareness.
The setting describes focused-field text and on-device screen OCR as extra context. It also says active-app and language/dialect hints are always used.
Choose the setting that suits your needs. Compose requires Context awareness.
A question you might have
Does turning this off stop all context use?
The setting explains that active-app and language/dialect hints are always used. Read its description to understand which extra context the switch controls.