
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=\frac{{e}^{x}}{{x}^{a}}$, where $e$ is the base of the natural logarithm.<br/>$(1)$ When $a=1$, does the graph of the function $f(x)$ have a tangent line parallel to the x-axis? If it exists, find the equation of the tangent line; if not, explain why.<br/>$(2)$ When $a \gt 0$, if the function $g(x)=f(x)-e(x-a\ln x)$ has exactly two zeros in $(0,+\infty)$, find the range of values for $a$. (Hint: as $x\rightarrow 0, a\ln x-x+1\rightarrow -\infty$; as $x\rightarrow +\infty, a\ln x-x+1\rightarrow -\infty$)

Present the answer in LaTex format: \boxed{Your answer}
user