Add a custom parameter
(mut self, key: impl Into<String>, value: serde_json::Value)
| 152 | |
| 153 | /// Add a custom parameter |
| 154 | pub fn with_param(mut self, key: impl Into<String>, value: serde_json::Value) -> Self { |
| 155 | self.params.insert(key.into(), value); |
| 156 | self |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | /// A single piece of retrieved context |