Parameters as a function of time

Hi!
I have tried to write the code for the first model.
with pm.Model():
alpha = pm.Normal(‘alpha’, 0, 0.001)
sigma= pm.Gamma(‘sigma’, 0.01, 0.01)
d= pm.Beta(‘d’, a,b)
a= pm.Uniform(‘a’, 0, 1)
b= pm.Uniform(‘b’, 0, 1)
c= pm.Uniform(‘c’, 0, 1)
d = pm.LogitNormal(‘d’, mu=α_1+∝_2*X_t, sigma=sigma,
observed=S_t)

I am struggling to write a code for the second model. Can you please explain or suggest some tutorials
for writing the code.

Thanks for your reply