Unverified Commit acde0819 authored by Matt Williams's avatar Matt Williams Committed by GitHub
Browse files

Update examples/python-json-datagenerator/randomaddresses.py


Co-authored-by: default avatarBruce MacDonald <brucewmacdonald@gmail.com>
parent f748331a
...@@ -14,7 +14,7 @@ countries = [ ...@@ -14,7 +14,7 @@ countries = [
country = random.choice(countries) country = random.choice(countries)
model = "llama2" model = "llama2"
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 have no backslashes, values should use plain ascii with no special characters."
data = { data = {
"prompt": prompt, "prompt": prompt,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment