llama-stack/docs/resources
ehhuang c9ab72fa82
Support sys_prompt behavior in inference (#937)
# What does this PR do?

The current default system prompt for llama3.2 tends to overindex on
tool calling and doesn't work well when the prompt does not require tool
calling.

This PR adds an option to override the default system prompt, and
organizes tool-related configs into a new config object.

- [ ] Addresses issue (#issue)


## Test Plan

python -m unittest
llama_stack.providers.tests.inference.test_prompt_adapter


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/meta-llama/llama-stack/pull/937).
* #938
* __->__ #937
2025-02-03 23:35:16 -08:00
..
agentic-system.png moving rfc->docs 2024-09-18 16:54:24 -07:00
list-templates.png move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
llama-stack-spec.html Support sys_prompt behavior in inference (#937) 2025-02-03 23:35:16 -08:00
llama-stack-spec.yaml Support sys_prompt behavior in inference (#937) 2025-02-03 23:35:16 -08:00
llama-stack.png add llama-stack.png 2024-09-26 11:17:46 -07:00
model-lifecycle.png moving rfc->docs 2024-09-18 16:54:24 -07:00
prompt-format.png Add files via upload 2024-10-08 15:29:19 -07:00