Text this: Photoelectric and Thermoelectric Dual Modulation Via a Ternary Composite