Skip to content

Commit

Permalink
Update params
Browse files Browse the repository at this point in the history
  • Loading branch information
slundberg committed Apr 25, 2023
1 parent 5b6d60f commit 82e3566
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 28 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Anachronism:{{#select "answer"}} Yes{{or}} No{{/select}}''')
out = structure_program(
examples=examples,
input='The T-rex bit my dog',
echo=True # incrementally display the output as it is generated
display=True # incrementally display the output as it is generated
)
```
<img src="docs/figures/anachronism.png" width="837">
Expand Down Expand Up @@ -162,7 +162,7 @@ Please elaborate on this plan, and tell me how to best accomplish it.
out = create_plan(
goal='read more books',
parse_best=parse_best, # a custom python function we call in the program
echo=True # display live generation in the notebook
display=True # display live generation in the notebook
)
```
<img src="docs/figures/chat_reading.png" width="935">
Expand Down
2 changes: 1 addition & 1 deletion notebooks/anachronism.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"structure_prompt(\n",
" examples=examples,\n",
" input='The T-rex bit my dog',\n",
" echo=True # incrementally display the output as it is generated\n",
" display=True # incrementally display the output as it is generated\n",
")"
]
},
Expand Down
Loading

0 comments on commit 82e3566

Please sign in to comment.