docstr: Extract generated text from LLM response
docstr_tok: ["Extract","generated","text","from","LLM","response"]
code: def extract_generated_texts(self, responses: List[str]):
      """Extract generated text from LLM response"""
  
      results = []
      for i, item in enumerate(responses):
          text = self.rag.extract_generated_text(item)
  
          results.append(text)
      return results
  
imports: import ast
  from collections import defaultdict
  from typing import List
  import nltk
  import pandas
  from nltk import word_tokenize
  from nltk.translate.bleu_score import sentence_bleu
  from nltk.translate.meteor_score import meteor_score
  from rouge_score import rouge_scorer
  from scipy.spatial import distance
  from mindsdb.integrations.handlers.writer_handler.settings import WriterHandlerParameters
  from mindsdb.utilities import log
label_desc: Use image node_id 9 for calling the WriterEvaluator obj's underlying member method code with example usage: obj.extract_generated_texts(responses) and returns: results