From 47ffb81db7d000f8b68cec2f7845e9d6c0756966 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Tue, 14 Nov 2023 10:33:34 -0800 Subject: [PATCH] Update examples/python-json-datagenerator/readme.md Co-authored-by: Bruce MacDonald --- examples/python-json-datagenerator/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python-json-datagenerator/readme.md b/examples/python-json-datagenerator/readme.md index 0d825543..2dc958e7 100644 --- a/examples/python-json-datagenerator/readme.md +++ b/examples/python-json-datagenerator/readme.md @@ -24,7 +24,7 @@ When running `randomaddresses.py` you will see that the schema changes and adapt In `predefinedschema.py`, a template has been specified in the prompt as well. It's been defined as JSON and then dumped into the prompt string to make it easier to work with. -Both examples turn streaming off so that we end up with the completed JSON all at once. We need to convert the `response.text` to JSON so that when we output it as a string we can set the indent spacing to make the output attractive. +Both examples turn streaming off so that we end up with the completed JSON all at once. We need to convert the `response.text` to JSON so that when we output it as a string we can set the indent spacing to make the output easy to read. ```python response = requests.post("http://localhost:11434/api/generate", json=data, stream=False)