Sebastian Husch Lee
|
eace2a99e5
|
feat: Add Literal["*"] option to required_variables in ChatPrompBuilder and PromptBuilder (#8572)
* Add new option for required_variables in PromptBuilder and ChatPromptBuilder
* Add reno note
* Add tests
|
2024-11-22 16:27:50 +01:00 |
|
Silvano Cerza
|
da49e782e2
|
chore: Make arrow an optional dependency (#8345)
* Make arrow an optional dependency
* Fix imports
|
2024-09-09 16:09:51 +02:00 |
|
Mo Sriha
|
75955922b9
|
feat: Add current date in UTC to PromptBuilder (#8233)
* initial commit
* add unit tests
* add release notes
* update function name
|
2024-09-09 09:47:03 +02:00 |
|
tstadel
|
83d3970405
|
feat: extend PromptBuilder and deprecate DynamicPromptBuilder (#7655)
* feat: add default template to DynamicPromptBuilder
* fix mypy
* fix mypy
* extend PromptBuilder and deprecate DynamicPromptBuilder
* make backward-compatible: optional -> required
* make backward-compatible: _template_string
* make backward-compatible: missing_required_vars error
* add test for no template case
* better docstrings
* some chors
* some chors
* add reno
* revert test_dynamic_prompt_builder.py
* better docstring
* make backward-compatible: reorder init args
* fix tests
* add raises docstring
* make default template required and rework docstrings
* docs chores
* keep to_dict in place for easier review
* remove unnecessary logger
* update docstring
|
2024-05-23 16:03:39 +02:00 |
|
Massimiliano Pippi
|
10c675d534
|
chore: add license header to all modules (#7675)
* add license header to modules
* check license header at linting time
|
2024-05-09 13:40:36 +00:00 |
|
Bohan Qu
|
40360e44ff
|
feat: add required flag for prompt builder inputs (#7553)
|
2024-04-29 14:21:53 +02:00 |
|
Massimiliano Pippi
|
25a1a97be0
|
restore to_dict method (#7261)
|
2024-02-29 14:30:06 +01:00 |
|
Massimiliano Pippi
|
cf1e28431a
|
fix docstrings for the builder package (#7248)
* fix docstrings for the builder package
* remove dead test
* Apply suggestions from code review
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* review feedback
* pylint
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
|
2024-02-28 18:22:29 +01:00 |
|
Massimiliano Pippi
|
7c05f37a53
|
remove unit marker (#6450)
|
2023-11-29 19:24:25 +01:00 |
|
Silvano Cerza
|
e6637f5ec2
|
Fix all tests
|
2023-11-24 14:48:43 +01:00 |
|
Massimiliano Pippi
|
8adb8bbab8
|
Remove preview folder in test/
---------
Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
|
2023-11-24 11:52:55 +01:00 |
|