inline_comment_parser#
Attributes#
Classes#
Module Contents#
- inline_comment_parser.log#
- class inline_comment_parser.Criteria#
Bases:
langchain_core.pydantic_v1.BaseModel
- score: conint(ge=1, le=4)#
- class inline_comment_parser.Comment#
Bases:
langchain_core.pydantic_v1.BaseModel
- class inline_comment_parser.CommentList#
Bases:
langchain_core.pydantic_v1.BaseModel
- class inline_comment_parser.InlineCommentParser#
Bases:
janus.parsers.parser.JanusParser
,langchain.output_parsers.PydanticOutputParser
- parse_input(block)#
Parse the input block into raw string input ready to be passed to an LLM. Also perform any processing or saving of metadata.
- Parameters:
block (janus.language.block.CodeBlock) – The CodeBlock to be processed
- Returns:
A parsed version of the input text
- Return type: