You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prompt_template_cannot_respond = (
"You cannot respond to the user input: {product}\n"
"Ask the user to rerun by inputting the name of a product in order for you to make a company out of it.\n"
)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
prompt_template_cannot_respond = (
"You cannot respond to the user input: {product}\n"
"Ask the user to rerun by inputting the name of a product in order for you to make a company out of it.\n"
)
cannot_respond_chain = (
PromptTemplate.from_template(prompt_template_cannot_respond)
| llm
).with_types(input_type=Dict[str, str], output_type=str)
why is input_type = Dict[str, str] i.e. two str types ?
If I changed it to Dict[str], it will complain that "Too few parameters for typing.Dict; actual 1, expected 2"
Beta Was this translation helpful? Give feedback.
All reactions