forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1989e7d4c2
The YAML and JSON examples of prompt serialization now give a strange `No '_type' key found, defaulting to 'prompt'` message when you try to run them yourself or copy the format of the files. The reason for this harmless warning is that the _type key was not in the config files, which means they are parsed as a standard prompt. This could be confusing to new users (like it was confusing to me after upgrading from 0.0.85 to 0.0.86+ for my few_shot prompts that needed a _type added to the example_prompt config), so this update includes the _type key just for clarity. Obviously this is not critical as the warning is harmless, but it could be confusing to track down or be interpreted as an error by a new user, so this update should resolve that. |
1 year ago | |
---|---|---|
.. | ||
custom_example_selector.md | 1 year ago | |
custom_prompt_template.ipynb | 1 year ago | |
example_prompt.json | 1 year ago | |
example_selectors.ipynb | 1 year ago | |
examples.json | 1 year ago | |
examples.yaml | 1 year ago | |
few_shot_examples.ipynb | 1 year ago | |
few_shot_prompt.json | 1 year ago | |
few_shot_prompt.yaml | 1 year ago | |
few_shot_prompt_example_prompt.json | 1 year ago | |
few_shot_prompt_examples_in.json | 1 year ago | |
few_shot_prompt_yaml_examples.yaml | 1 year ago | |
partial.ipynb | 1 year ago | |
prompt_management.ipynb | 1 year ago | |
prompt_serialization.ipynb | 1 year ago | |
simple_prompt.json | 1 year ago | |
simple_prompt.yaml | 1 year ago | |
simple_prompt_with_template_file.json | 1 year ago | |
simple_template.txt | 1 year ago |