From 69795d2db083e723d3c3f0b2b8b5f6673462e13e Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Tue, 14 Nov 2023 10:33:16 -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 872833f8..0d825543 100644 --- a/examples/python-json-datagenerator/readme.md +++ b/examples/python-json-datagenerator/readme.md @@ -9,7 +9,7 @@ There are two python scripts in this example. `randomaddresses.py` generates ran Both programs are basically the same, with a different prompt for each, demonstrating two different ideas. The key part of getting JSON out of a model is to state in the prompt or system prompt that it should respond using JSON, and specifying the `format` as `json` in the data body. ```python -prompt = f"generate one realisticly believable sample data set of a persons first name, last name, address in {country}, and phone number. Do not use common names. Respond using JSON. Key names should with no backslashes, values should use plain ascii with no special characters." +prompt = f"generate one realistically believable sample data set of a persons first name, last name, address in {country}, and phone number. Do not use common names. Respond using JSON. Key names should with no backslashes, values should use plain ascii with no special characters." data = { "prompt": prompt,