File size: 311 Bytes
cbfd993
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
```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