janus.parsers.reqs_parser#

Attributes#

log

Classes#

Module Contents#

janus.parsers.reqs_parser.log#
class janus.parsers.reqs_parser.RequirementsParser#

Bases: janus.parsers.parser.JanusParser

expected_keys: set[str]#
parse(text)#
Parameters:

text (str | langchain_core.messages.BaseMessage) –

Return type:

str

parse_combined_output(text)#

Parse the output text from the LLM when multiple inputs are combined.

Parameters:

text (str) – The output text from the LLM.

Returns:

A parsed version of the text.

get_format_instructions()#

Get the format instructions for the parser.

Returns:

The format instructions for the LLM.

Return type:

str