janus.converter.evaluate#
Attributes#
Classes#
Parent class that converts code into something else. |
Module Contents#
- janus.converter.evaluate.log#
- class janus.converter.evaluate.Evaluator(**kwargs)#
Bases:
janus.converter.converter.Converter
Parent class that converts code into something else.
Children will determine what the code gets converted into. Whether that’s translated into another language, into pseudocode, requirements, documentation, etc., or converted into embeddings
Initialize a Converter instance.
- Parameters:
source_language – The source programming language.
parser_type – The type of parser to use for parsing the LLM output. Valid values are “code”, “text”, “eval”, and None (default). If None, the Converter assumes you won’t be parsing an output (i.e., adding to an embedding DB).