mirror of
https://github.com/ollama/ollama.git
synced 2026-10-24 04:21:28 +00:00
Update examples/python-json-datagenerator/randomaddresses.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
parent
f748331aa3
commit
acde0819d9
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ countries = [
|
|||
country = random.choice(countries)
|
||||
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 = {
|
||||
"prompt": prompt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue