Skip to main content

with_prompt

Method
This is a method of the LLMGuardrail class in the extras module.
Set the prompt template

Signature

def with_prompt(mut self, prompt: impl Into<String>) -> Self

Parameters

prompt
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.