concepts.language.gpt_parsing.caption_sng.CaptionSNGParser#

class CaptionSNGParser[source]#

Bases: object

Methods

extract(raw_response)

parse(sentence)

parse_batch(sentences)

__init__(max_tokens=1024)[source]#
Parameters:

max_tokens (int) –

__new__(**kwargs)#
extract(raw_response)[source]#
parse(sentence)[source]#
Parameters:

sentence (str) –

Return type:

Dict[str, Any]

parse_batch(sentences)[source]#