This commit updates the field types in the `prompt.py` and `formatter/base.py` modules. The `DefaultPromptField` class in `prompt.py` now inherits from `InputField` instead of `TemplateField`. Similarly, the `format` method in the `FieldFormatter` class in `formatter/base.py` now accepts an `InputField` parameter instead of a `TemplateField` parameter. These changes ensure consistency and improve the accuracy of the code. |
||
|---|---|---|
| .. | ||
| basic_example.json | ||
| BasicChatwithPromptandHistory.json | ||
| ChatInputTest.json | ||
| complex_example.json | ||
| component.py | ||
| component_with_templatefield.py | ||
| grouped_chat.json | ||
| one_group_chat.json | ||
| Openapi.json | ||
| TwoOutputsTest.json | ||
| Vector_store.json | ||
| vector_store_grouped.json | ||