You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add enable_prompt_caching to AWS Bedrock LLM settings
Updates documentation for pipecat PR #4219 which added prompt caching
support to AWSBedrockLLMService. Added the new enable_prompt_caching
parameter to the Settings table with description and AWS docs link.
Copy file name to clipboardExpand all lines: server/services/llm/aws.mdx
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,18 +128,19 @@ Before using AWS Bedrock LLM services, you need:
128
128
129
129
Runtime-configurable settings passed via the `settings` constructor argument using `AWSBedrockLLMService.Settings(...)`. These can be updated mid-conversation with `LLMUpdateSettingsFrame`. See [Service Settings](/guides/fundamentals/service-settings) for details.
|`seed`|`int`|`NOT_GIVEN`| Random seed for deterministic outputs. |
140
+
|`stop_sequences`|`List[str]`|`NOT_GIVEN`| List of strings that stop generation when encountered. |
141
+
|`latency`|`str`|`NOT_GIVEN`| Performance mode: `"standard"` or `"optimized"`. |
142
+
|`enable_prompt_caching`|`bool`|`NOT_GIVEN`| Whether to enable prompt caching by adding cachePoint markers to system prompts and tool definitions. Can reduce TTFT by up to 85% for multi-turn conversations. See [AWS docs](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html). |
143
+
|`additional_model_request_fields`|`dict`|`NOT_GIVEN`| Additional model-specific parameters passed directly to the API. |
143
144
144
145
<Note>
145
146
`NOT_GIVEN` values are omitted from the inference config, letting the Bedrock
0 commit comments