Open flazouh opened 1 day ago
sometimes openai returns ```json { "key": "value" } ``` does this lib handles this use case ?
Nope. But there are two workarounds:
```json\n(.+?)(?:\n```|`{0,3}\Z)
ok thanks you, nice lib btw. was gonna implement it myself and thought someone must have had the idea already
sometimes openai returns ```json { "key": "value" } ``` does this lib handles this use case ?