Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Jun 22, 2024
1 parent 60e6f6d commit 238a34c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion website/learn/genapps/apps/chatbots.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ The incremental process of generating text for the user is reffered to as **stre
```python
import time

input("I'm going to start counting, OK?")
for i in range(1, 11):
print(i)
time.sleep(1)
Expand Down
6 changes: 3 additions & 3 deletions website/learn/genapps/llmapps/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ completion = OpenAI().chat.completions.create(
model = "gpt-4",
messages = [
{"role": "system", "content": "Only reply with plain Python code use no markdown"},
{"role": "user", "content": input("What would you like me to compute?")},
{"role": "user", "content": input()},
]
)

Expand Down Expand Up @@ -51,7 +51,7 @@ completion = OpenAI().chat.completions.create(
{headers}
"""},
{"role": "user", "content": input("Ask anything about this CSV")},
{"role": "user", "content": input()},
]
)

Expand All @@ -76,7 +76,7 @@ completion = OpenAI().chat.completions.create(
Only reply with plain Python code.
Write streamlit code to answer the user requirements.
"""},
{"role": "user", "content": input("What app do you need?")},
{"role": "user", "content": input()},
]
)

Expand Down

0 comments on commit 238a34c

Please sign in to comment.