mirror of https://github.com/hwchase17/langchain
typo bugfixes in getting started with prompts (#651)
tl;dr: input -> word, output -> antonym, rename to dynamic_prompt consistently The provided code in this example doesn't run, because the keys are `word` and `antonym`, rather than `input` and `output`. Also, the `ExampleSelector`-based prompt is named `few_shot_prompt` when defined and `dynamic_prompt` in the follow-up example. The former name is less descriptive and collides with an earlier example, so I opted for the latter. Thanks for making a really cool library!pull/657/head
parent
3adc5227cd
commit
bfb23f4608
Loading…
Reference in New Issue