Skip to content

Commit b8ff062

Browse files
committed
examples/llm: update prompt
Signed-off-by: Danielle Lancashire <[email protected]>
1 parent 2405230 commit b8ff062

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/llm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Spin python Hello World
1+
# Spin python llm
22

3-
A simple example showcasing the return of a simple response to a request in the Spin Python SDK.
3+
A simple example showcasing the return of a simple LLM inferencing request with the Spin Python SDK.

examples/llm/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def handle_request(request):
6-
prompt="You are a smart bot. What is a smart bots favorite joke?"
6+
prompt="You are a stand up comedy writer. Tell me a joke."
77
result=llm_infer("llama2-chat", prompt)
88
return Response(200,
99
{"content-type": "text/plain"},

0 commit comments

Comments
 (0)