llama-stack/llama_toolchain
Hardik Shah b8fc4d4dee
Updates to prompt for tool calls (#29)
* update system prompts to drop new line

* Add tool prompt formats

* support json format

* JSON in caps

* function_tag system prompt is also added as a user message

* added docstrings for ToolPromptFormat

---------

Co-authored-by: Hardik Shah <hjshah@fb.com>
2024-08-15 13:23:51 -07:00
..
agentic_system Updates to prompt for tool calls (#29) 2024-08-15 13:23:51 -07:00
cli formatting 2024-08-14 17:03:43 -04:00
common formatting 2024-08-14 17:03:43 -04:00
dataset/api formatting 2024-08-14 17:03:43 -04:00
distribution No need for unnecessary $(conda run ...) to get python interpreter 2024-08-14 20:48:35 -07:00
evaluations/api formatting 2024-08-14 17:03:43 -04:00
inference Avoid using nearly double the memory needed (#30) 2024-08-14 17:44:36 -07:00
memory formatting 2024-08-14 17:03:43 -04:00
models/api formatting 2024-08-14 17:03:43 -04:00
post_training/api formatting 2024-08-14 17:03:43 -04:00
reward_scoring/api formatting 2024-08-14 17:03:43 -04:00
safety Updates to prompt for tool calls (#29) 2024-08-15 13:23:51 -07:00
synthetic_data_generation/api formatting 2024-08-14 17:03:43 -04:00
__init__.py Initial commit 2024-07-23 08:32:33 -07:00