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

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
Matt Williams 2023-11-14 10:33:02 -08:00 committed by GitHub
parent f748331aa3
commit acde0819d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,