OpenFactCheck-Prerelease / error_output.txt
Hasan Iqbal
Added LLM Response Evaluation frontend
cbfd993 unverified
raw
history blame
311 Bytes
```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