diff --git a/libs/langchain/langchain/output_parsers/rail_parser.py b/libs/langchain/langchain/output_parsers/rail_parser.py index 2f6c7b7f0..f0cabc13e 100644 --- a/libs/langchain/langchain/output_parsers/rail_parser.py +++ b/libs/langchain/langchain/output_parsers/rail_parser.py @@ -11,11 +11,11 @@ class GuardrailsOutputParser(BaseOutputParser): guard: Any """The Guardrails object.""" api: Optional[Callable] - """The API to use for the Guardrails object.""" + """The LLM API passed to Guardrails during parsing. An example is `openai.completions.create`.""" # noqa: E501 args: Any - """The arguments to pass to the API.""" + """Positional arguments to pass to the above LLM API callable.""" kwargs: Any - """The keyword arguments to pass to the API.""" + """Keyword arguments to pass to the above LLM API callable.""" @property def _type(self) -> str: