```python | |
["This is a sample LLM response."] | |
``` | |
```python | |
["{'text': 'This is a sample LLM response.'}"] | |
``` | |
def process(input: str): | |
sentences = input.replace("{'text': '", "").replace("'}", "").split(". ") | |
processed_sentences = [sentences[0] + ".", sentences[1] + "."] | |
return processed_sentences | |